summaryrefslogtreecommitdiffstats
path: root/include/configs/mx6qsabresd.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-01-10 09:00:53 +0000
committerStefano Babic <sbabic@denx.de>2013-01-13 12:04:47 +0100
commitacbb4457ab95bc4d71380f12b78017db79748d58 (patch)
treef1a292130debe0d2a468a74f0509b1159e3efcf9 /include/configs/mx6qsabresd.h
parentbf0c2245a2d8bbf437f6182f7d50b896461a931d (diff)
downloadblackbird-obmc-uboot-acbb4457ab95bc4d71380f12b78017db79748d58.tar.gz
blackbird-obmc-uboot-acbb4457ab95bc4d71380f12b78017db79748d58.zip
mx6qsabresd: Fix booting the kernel from SDHC3
Since commit de7d02aeb (mx6qsabresd: add usdhc2 and usdhc4 support) SDHC3 device node is no longer 0, which breaks loading a uImage from SDHC3. Fix it by adapting the default environment to use CONFIG_SYS_MMC_ENV_DEV as the correct mmc node for loading the kernel from. While at it, go back to using SDHC3 as the default mmc, since we have Yocto images that generate an SD card containing U-boot,kernel and rootfs, so it is more convenient to keep using SDHC3 as it was originally. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include/configs/mx6qsabresd.h')
-rw-r--r--include/configs/mx6qsabresd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/mx6qsabresd.h b/include/configs/mx6qsabresd.h
index b64e9254f8..3b8d752eed 100644
--- a/include/configs/mx6qsabresd.h
+++ b/include/configs/mx6qsabresd.h
@@ -28,7 +28,7 @@
#define CONFIG_SYS_FSL_USDHC_NUM 3
#if defined(CONFIG_ENV_IS_IN_MMC)
-#define CONFIG_SYS_MMC_ENV_DEV 2 /* eMMC/uSDHC4 */
+#define CONFIG_SYS_MMC_ENV_DEV 1 /* SDHC3 */
#define CONFIG_SYS_MMC_ENV_PART 1 /* Boot partition 1 */
#endif
OpenPOWER on IntegriCloud