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 12:00:41 +0800
commitc258131f4998a7c8a6e6fca230ca9e7f8f6677eb (patch)
tree51f3595f1b05e7986010738a6a54425136d4a6b3 /common
parent6dffe1931ecc355c066f803bf64d1e1dca7f036b (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 */