summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJi Luo <ji.luo@nxp.com>2019-05-30 10:23:10 +0800
committerJi Luo <ji.luo@nxp.com>2019-05-30 10:23:10 +0800
commit35731640700a4aa105f117edae5dcc0e124030ab (patch)
tree5a351c3f4d8a92126142c219fcc9f6cd81ed15f0 /common
parentc5dcc21c214badd5b48b48dfaa62d17ba13c6b17 (diff)
MA-14898 Fix build warnings
Include correct header files to avoid build warning: common/image-android.c:151:68: warning: implicit declaration of function ‘mmc_get_env_dev’ [-Wimplicit-function-declaration] " androidboot.boot_device_root=mmcblk%d", mmc_map_to_kernel_blk(mmc_get_env_dev())); Change-Id: I932a178500e7397f72d717efae0dd2d954a909d8 Signed-off-by: Ji Luo <ji.luo@nxp.com>
Diffstat (limited to 'common')
-rw-r--r--common/image-android.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/image-android.c b/common/image-android.c
index 934e636fc7..0e3cff653b 100644
--- a/common/image-android.c
+++ b/common/image-android.c
@@ -18,6 +18,7 @@
#include <fsl_fastboot.h>
#include <asm/setup.h>
#include <dm.h>
+#include <mmc.h>
#define ANDROID_IMAGE_DEFAULT_KERNEL_ADDR 0x10008000