summaryrefslogtreecommitdiff
path: root/include/configs/mx53_smd_android.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/mx53_smd_android.h')
-rw-r--r--include/configs/mx53_smd_android.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/configs/mx53_smd_android.h b/include/configs/mx53_smd_android.h
index b9d6d47e223..2830932d291 100644
--- a/include/configs/mx53_smd_android.h
+++ b/include/configs/mx53_smd_android.h
@@ -104,7 +104,8 @@
"setenv bootargs ${bootargs} init=/init root=/dev/mmcblk0p4 rootfs=ext4 video=mxcdi1fb:RGB666,XGA ldb=di1 di1_primary"
#define CONFIG_ANDROID_RECOVERY_BOOTCMD_MMC \
"run bootargs_base bootargs_android_recovery;" \
- "mmc read 1 ${loadaddr} 0x800 0x2000;bootm"
+ "mmc dev 1 0" \
+ "mmc read ${loadaddr} 0x800 0x2000;bootm"
#define CONFIG_ANDROID_RECOVERY_CMD_FILE "/recovery/command"
#define CONFIG_ANDROID_SYSTEM_PARTITION_MMC 2
@@ -164,8 +165,9 @@
"bootargs=console=ttymxc0 init=/init " \
"androidboot.console=ttymxc0 video=mxcdi1fb:RGB666,XGA " \
"ldb=di1 di1_primary gpu_nommu gpu_memory=64M\0" \
- "bootcmd_SD=mmc read 1 ${loadaddr} 0x800 0x2000;" \
- "mmc read 1 ${rd_loadaddr} 0x3000 0x300\0" \
+ "bootcmd_SD=mmc dev 1 0;" \
+ "mmc read ${loadaddr} 0x800 0x2000;" \
+ "mmc read ${rd_loadaddr} 0x3000 0x300\0" \
"bootcmd=run bootcmd_SD; bootm ${loadaddr} ${rd_loadaddr}\0" \
#define CONFIG_ARP_TIMEOUT 200UL
@@ -257,7 +259,6 @@
/* detect whether ESDHC1 or ESDHC3 is boot device */
#define CONFIG_DYNAMIC_MMC_DEVNO
- #define CONFIG_BOOT_PARTITION_ACCESS
#define CONFIG_EMMC_DDR_MODE
#define CONFIG_EMMC_DDR_PORT_DETECT
/* port 1 (ESDHC3) is 8 bit */