summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorfaqiang.zhu <faqiang.zhu@nxp.com>2018-11-28 11:01:27 +0800
committerfaqiang.zhu <faqiang.zhu@nxp.com>2018-11-28 13:06:16 +0800
commitc630e0ad3bc87f962ba7ce6038a78d99b9d1ff5c (patch)
treefd05d44d3fce687d8389268b10abf23a8be49904 /common
parentcd11afb01f6a6719e909a34e50f88dda1a0360c4 (diff)
MA-13588 Fix build warning caused by previous android SPL+CONTAINER patch
compile waring info is as below: arch/arm/mach-imx/imx8/parser.c: In function ‘mmc_load_image_parse_container’: arch/arm/mach-imx/imx8/parser.c:244:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ previouse patch change ID: I40a791d5b5b1eba6a0170d6853626fb546be4b2c Change-Id: Ia605df11beab42e720fff6442a11b1e4b25ac209 Signed-off-by: faqiang.zhu <faqiang.zhu@nxp.com>
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 ec56f11fdb..ae59991824 100644
--- a/common/spl/spl_mmc.c
+++ b/common/spl/spl_mmc.c
@@ -112,7 +112,7 @@ int mmc_load_image_raw_sector(struct spl_image_info *spl_image,
#if defined(CONFIG_IMX_TRUSTY_OS) && defined(CONFIG_ANDROID_AUTO_SUPPORT)
ret = check_rpmb_blob(mmc);
#endif
- return 0;
+ return ret;
}
#endif /* CONFIG_DUAL_BOOTLOADER */