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/mx6q_sabreauto.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/configs/mx6q_sabreauto.h') diff --git a/include/configs/mx6q_sabreauto.h b/include/configs/mx6q_sabreauto.h index 32247c0..c310155 100644 --- a/include/configs/mx6q_sabreauto.h +++ b/include/configs/mx6q_sabreauto.h @@ -119,7 +119,9 @@ "tftpboot ${loadaddr} ${kernel}; bootm\0" \ "bootargs_mmc=setenv bootargs ${bootargs} ip=dhcp " \ "root=/dev/mmcblk0p1 rootwait\0" \ - "bootcmd_mmc=run bootargs_base bootargs_mmc; bootm\0" \ + "bootcmd_mmc=run bootargs_base bootargs_mmc; " \ + "mmc dev 0; " \ + "mmc read ${loadaddr} 0x800 0x1800; bootm\0" \ "bootcmd=run bootcmd_net\0" \ @@ -180,7 +182,6 @@ /* detect whether SD1, 2, 3, or 4 is boot device */ #define CONFIG_DYNAMIC_MMC_DEVNO - #define CONFIG_BOOT_PARTITION_ACCESS /* SD3 and SD4 are 8 bit */ #define CONFIG_MMC_8BIT_PORTS 0xC /* Setup target delay in DDR mode for each SD port */ -- cgit v1.1