From 3d7fa1dc1c9ea7e03abc89d7b1b2193305564fab Mon Sep 17 00:00:00 2001 From: Terry Lv Date: Fri, 12 Aug 2011 12:49:30 +0800 Subject: ENGR00154666-1: Align u-boot mmc command with community Modifications on config files. 1. Remove CONFIG_BOOT_PARTITION_ACCESS. 2. Change all mmc read command in default env configs. Signed-off-by: Terry Lv --- include/configs/mx51_bbg_android.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/configs/mx51_bbg_android.h') diff --git a/include/configs/mx51_bbg_android.h b/include/configs/mx51_bbg_android.h index cfa8650cad9..df99cbcad35 100644 --- a/include/configs/mx51_bbg_android.h +++ b/include/configs/mx51_bbg_android.h @@ -126,7 +126,8 @@ "rootfs=ext4 di1_primary" #define CONFIG_ANDROID_RECOVERY_BOOTCMD_MMC \ "run bootargs_base bootargs_android_recovery;" \ - "mmc read 0 ${loadaddr} 0x800 0x2000;bootm" + "mmc dev 0" \ + "mmc read ${loadaddr} 0x800 0x2000;bootm" #define CONFIG_ANDROID_RECOVERY_CMD_FILE "/recovery/command" #define CONFIG_ANDROID_SYSTEM_PARTITION_MMC 2 @@ -170,8 +171,9 @@ "rd_loadaddr=0x90D00000\0" \ "bootargs=console=ttymxc0 init=/init androidboot.console=ttymxc0 " \ "di1_primary gpu_nommu gpu_memory=32M calibration\0" \ - "bootcmd_SD=mmc read 0 ${loadaddr} 0x800 0x2000;" \ - "mmc read 0 ${rd_loadaddr} 0x3000 0x300\0" \ + "bootcmd_SD=mmc dev 0;" \ + "mmc read ${loadaddr} 0x800 0x2000;" \ + "mmc read ${rd_loadaddr} 0x3000 0x300\0" \ "bootcmd=run bootcmd_SD; bootm ${loadaddr} ${rd_loadaddr}\0" \ -- cgit v1.2.3