summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Fuzhen <fuzhen.lin@freescale.com>2013-06-20 20:47:18 +0800
committerLin Fuzhen <fuzhen.lin@freescale.com>2013-06-21 10:16:12 +0800
commit5c1494a480e511620a0fc72c9d887551abde6515 (patch)
tree105eb5d67d55e87b6ebcb1086c91676c51e5ebef
parent78f8d830f76a64c0b856d6da1a419a518bf034f3 (diff)
downloadu-boot-imx-5c1494a480e511620a0fc72c9d887551abde6515.zip
u-boot-imx-5c1494a480e511620a0fc72c9d887551abde6515.tar.gz
u-boot-imx-5c1494a480e511620a0fc72c9d887551abde6515.tar.bz2
ENGR00268063 imx6x android: Fix build error
Fix build error when build Android Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
-rw-r--r--cpu/arm_cortexa8/mx6/generic.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu/arm_cortexa8/mx6/generic.c b/cpu/arm_cortexa8/mx6/generic.c
index da24b25..ecb196c 100644
--- a/cpu/arm_cortexa8/mx6/generic.c
+++ b/cpu/arm_cortexa8/mx6/generic.c
@@ -1509,6 +1509,9 @@ uint32_t authenticate_image(uint32_t ddr_start, uint32_t image_size)
#ifdef CONFIG_ANDROID_RECOVERY
+#ifndef CONFIG_ANDROID_RECOVERY_BOOTCMD_SD
+#define CONFIG_ANDROID_RECOVERY_BOOTCMD_SD CONFIG_ANDROID_RECOVERY_BOOTCMD_MMC
+#endif
struct reco_envs supported_reco_envs[BOOT_DEV_NUM] = {
{
.cmd = CONFIG_ANDROID_RECOVERY_BOOTCMD_MMC,