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>2022-04-18 16:40:09 +0800
commitdbe3d7726816b0efad5c605b7702177428b245d9 (patch)
treeb1d03166019ba08c5531f6716a57e4da6c859cab /common
parent3a9cea328057ba484f8884d32a5e0a6ed5b2b24d (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 (cherry picked from commit 85e0d429d19b8f9a62369a5f20e088644c488b1e) (cherry picked from commit 52471735760a8d3a410f88c144910a07a161028d) (cherry picked from commit c0ed4a68aecf0cf67d61c72c273fcd655682366f)
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 c3186e2153..591c238a63 100644
--- a/common/spl/spl_mmc.c
+++ b/common/spl/spl_mmc.c
@@ -77,7 +77,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