summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJi Luo <ji.luo@nxp.com>2020-06-18 10:52:37 +0800
committerJi Luo <ji.luo@nxp.com>2020-06-18 15:25:35 +0800
commit85e0d429d19b8f9a62369a5f20e088644c488b1e (patch)
treee285cc481b57011ee435dce105c65a5ab45baac0 /common
parent4030462cb99e1dc67f7ee28f391ddd5c21938878 (diff)
MA-17390 Clean build warnings for android
This commit eliminate the annoying build warning logs. Test: builds with buildman. Signed-off-by: Ji Luo <ji.luo@nxp.com> Change-Id: Ia335dafe3f4c0eab08e011215b9de5d2974b8d0c
Diffstat (limited to 'common')
-rw-r--r--common/spl/spl_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
index df8633a386..d9dfbb0b52 100644
--- a/common/spl/spl_mmc.c
+++ b/common/spl/spl_mmc.c
@@ -59,7 +59,7 @@ static __maybe_unused unsigned long spl_mmc_raw_uboot_offset(int part)
return 0;
}
-#if defined(CONFIG_IMX_TRUSTY_OS)
+#if defined(CONFIG_DUAL_BOOTLOADER)
int mmc_load_image_raw_sector_dual_uboot(struct spl_image_info *spl_image,
struct mmc *mmc);
#endif