summaryrefslogtreecommitdiff
path: root/include/configs/mx51_bbg_android.h
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2011-08-12 12:49:30 +0800
committerTerry Lv <r65388@freescale.com>2011-09-01 11:45:02 +0800
commit3d7fa1dc1c9ea7e03abc89d7b1b2193305564fab (patch)
tree128e5e002100b3437aef66c31791cdd639e09fc3 /include/configs/mx51_bbg_android.h
parenta9cced4ea28c4fda8550745bb10bebc7a93df408 (diff)
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 <r65388@freescale.com>
Diffstat (limited to 'include/configs/mx51_bbg_android.h')
-rw-r--r--include/configs/mx51_bbg_android.h8
1 files changed, 5 insertions, 3 deletions
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" \