Commit acbb4457ab95bc4d71380f12b78017db79748d58
Committed by
Stefano Babic
1 parent
bf0c2245a2
Exists in
master
and in
54 other branches
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>
Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff
include/configs/mx6qsabre_common.h
... | ... | @@ -90,7 +90,7 @@ |
90 | 90 | "console=" CONFIG_CONSOLE_DEV "\0" \ |
91 | 91 | "fdt_high=0xffffffff\0" \ |
92 | 92 | "initrd_high=0xffffffff\0" \ |
93 | - "mmcdev=0\0" \" \ | |
93 | + "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \" \ | |
94 | 94 | "mmcpart=1\0" \ |
95 | 95 | "mmcroot=" CONFIG_MMCROOT " rootwait rw\0" \ |
96 | 96 | "mmcargs=setenv bootargs console=${console},${baudrate} " \ |
include/configs/mx6qsabresd.h