summaryrefslogtreecommitdiff
path: root/include/configs/mx6sabresd.h
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-06-04 14:18:08 +0800
committerYe.Li <B37916@freescale.com>2014-06-17 11:13:40 +0800
commit7afab9185b970c03eba732640e3f3bfe78dc2fbb (patch)
treea2a189cbf934c5a20744244d4b57c07c9c1234da /include/configs/mx6sabresd.h
parent580011f86caf137d59a487694f6f7da042164e05 (diff)
downloadu-boot-imx-7afab9185b970c03eba732640e3f3bfe78dc2fbb.zip
u-boot-imx-7afab9185b970c03eba732640e3f3bfe78dc2fbb.tar.gz
u-boot-imx-7afab9185b970c03eba732640e3f3bfe78dc2fbb.tar.bz2
ENGR00315894-12 i.mx6:sabreauto/sabresd: Change the MMC settings
1. Change CONFIG_MMCROOT to mmcblk0p2. Kernel always sets the first availiable MMC/SD device to mmcblk0 2. Make the MMC ENV DEV/PART independent of ENV_IS_IN_MMC 3. Add the CONFIG_SYS_MMC_ENV_PART to 0 (user area) for u-boot env saving. CONFIG_SYS_MMC_ENV_PART: was used to tell the u-boot which emmc (boot)partition to be used for the env_mmc.Usually, the emmc card will have 2 boot partitions, boot1 and boot2. 0: means user area 1: means boot partition 1 2: means boot partition 2 If user want to use the boot partition to store the u-boot env, please change the CONFIG_SYS_MMC_ENV_PART to which boot partition you want. 4. Add the CONFIG_SYS_MMC_IMG_LOAD_PART for the partition number where the kernel and DTB will load from. At default, it is the first partition in VFAT format. Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'include/configs/mx6sabresd.h')
-rw-r--r--include/configs/mx6sabresd.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h
index 331a37c..8312d18 100644
--- a/include/configs/mx6sabresd.h
+++ b/include/configs/mx6sabresd.h
@@ -15,7 +15,7 @@
#define CONFIG_MACH_TYPE 3980
#define CONFIG_MXC_UART_BASE UART1_BASE
#define CONFIG_CONSOLE_DEV "ttymxc0"
-#define CONFIG_MMCROOT "/dev/mmcblk1p2"
+#define CONFIG_MMCROOT "/dev/mmcblk0p2"
#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
@@ -34,9 +34,8 @@
#define CONFIG_USB_MAX_CONTROLLER_COUNT 1 /* Enabled USB controller number */
#define CONFIG_SYS_FSL_USDHC_NUM 3
-#if defined(CONFIG_ENV_IS_IN_MMC)
#define CONFIG_SYS_MMC_ENV_DEV 1 /* SDHC3 */
-#endif
+#define CONFIG_SYS_MMC_ENV_PART 0 /* user partition */
#ifdef CONFIG_SYS_USE_SPINOR
#define CONFIG_SF_DEFAULT_CS (0|(IMX_GPIO_NR(4, 9)<<8))