summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorZhang Jiejing <jiejing.zhang@freescale.com>2012-02-23 15:08:52 +0800
committerLily Zhang <r58066@freescale.com>2012-02-27 13:01:11 +0800
commit951586a9fb6d6f30106e70978500c564dd573f9d (patch)
tree98e77749c45a3a0f774327c260534530846e6dca /include/configs
parent7d6fd7e5ba4d5cd35caa75112289d9cec0804007 (diff)
downloadu-boot-imx-951586a9fb6d6f30106e70978500c564dd573f9d.zip
u-boot-imx-951586a9fb6d6f30106e70978500c564dd573f9d.tar.gz
u-boot-imx-951586a9fb6d6f30106e70978500c564dd573f9d.tar.bz2
ENGR00175091 MX6Q_SABRESD: android: add recovery check
define a new macro to show which mmc bus was main storage in recovery check, only check the main storage /cache partition. Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/mx6q_sabresd_android.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/mx6q_sabresd_android.h b/include/configs/mx6q_sabresd_android.h
index 6252d00..6248eb4 100644
--- a/include/configs/mx6q_sabresd_android.h
+++ b/include/configs/mx6q_sabresd_android.h
@@ -45,11 +45,15 @@
#endif /* if 0 */
#define CONFIG_ANDROID_RECOVERY
+/* which mmc bus is your main storage ? */
+#define CONFIG_ANDROID_MAIN_MMC_BUS 3
+
#define CONFIG_ANDROID_BOOT_PARTITION_MMC 1
#define CONFIG_ANDROID_SYSTEM_PARTITION_MMC 5
#define CONFIG_ANDROID_RECOVERY_PARTITION_MMC 2
#define CONFIG_ANDROID_CACHE_PARTITION_MMC 6
+
#define CONFIG_ANDROID_RECOVERY_BOOTARGS_MMC NULL
#define CONFIG_ANDROID_RECOVERY_BOOTCMD_MMC \
"booti mmc3 recovery"