From patchwork Tue May 12 09:44:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 245648 List-Id: U-Boot discussion From: peng.fan at nxp.com (Peng Fan) Date: Tue, 12 May 2020 17:44:04 +0800 Subject: [PATCH 5/5] spl: fit: remove useless CONFIG_IMX_HAB In-Reply-To: <20200512094404.16534-1-peng.fan@nxp.com> References: <20200512094404.16534-1-peng.fan@nxp.com> Message-ID: <20200512094404.16534-6-peng.fan@nxp.com> No need to guard code with CONFIG_IMX_HAB, there is already a weak function. Signed-off-by: Peng Fan --- common/spl/spl_fit.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c index c51e4beb1c..3e5648b4eb 100644 --- a/common/spl/spl_fit.c +++ b/common/spl/spl_fit.c @@ -677,9 +677,7 @@ int spl_load_simple_fit(struct spl_image_info *spl_image, spl_image->flags |= SPL_FIT_FOUND; -#ifdef CONFIG_IMX_HAB board_spl_fit_post_load((ulong)fit, size); -#endif return 0; }