summaryrefslogtreecommitdiff
path: root/cpu
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-20 20:47:18 +0800
commit0617378277608d8c248fa053f7606b481ee90493 (patch)
tree43737c9cfe80918cfe2ca34034dc1e4cf9eb89c8 /cpu
parent3b76c5db3a8f703ab626d3f27fd7f445efa88ad8 (diff)
downloadu-boot-imx-jb4.2.2_1.1.0-ga.zip
u-boot-imx-jb4.2.2_1.1.0-ga.tar.gz
u-boot-imx-jb4.2.2_1.1.0-ga.tar.bz2
ENGR00268063 imx6x android: Fix build errorjb4.2.2_1.1.0-ga
Fix build error when build Android Signed-off-by: Lin Fuzhen <fuzhen.lin@freescale.com>
Diffstat (limited to 'cpu')
-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 aa2783a..480e5d5 100644
--- a/cpu/arm_cortexa8/mx6/generic.c
+++ b/cpu/arm_cortexa8/mx6/generic.c
@@ -1508,6 +1508,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,