diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2018-01-30 14:39:07 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2019-01-30 18:05:14 +0100 |
commit | e82f1c230f347d7be4fe6441b8f5e3e9bb6fd237 (patch) | |
tree | 9068f3dd199564468095941ffaa4adbaca47ec52 /include | |
parent | bd88d23d140ae59bb2e737aeec5923e58477a53c (diff) |
apalis-imx8: use eMMC as environment location/default boot device
Use USDHC1 which is eMMC to store U-Boot environment and as default
root device for Linux.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
(cherry picked from commit 65b8faac518e90ba1b53013e4639e2cd41e6bf2f)
(cherry picked from commit 5b235d487dea79976597368d2edac64c1b468e4c)
(cherry picked from commit f7bc9e4e18a15e44bc0a06afe0abaddb03f4e9c0)
(cherry picked from commit a90ba0b545e88c0182ee0c9033020d952fd54aff)
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/apalis-imx8.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/configs/apalis-imx8.h b/include/configs/apalis-imx8.h index 9ef7516f40..bd2ea1ca07 100644 --- a/include/configs/apalis-imx8.h +++ b/include/configs/apalis-imx8.h @@ -199,11 +199,9 @@ #define CONFIG_SYS_MMC_IMG_LOAD_PART 1 -/* On LPDDR4 board, USDHC1 is for eMMC, USDHC2 is for SD on CPU board, USDHC3 is for SD on base board - * On DDR4 board, USDHC1 is mux for NAND, USDHC2 is for SD, USDHC3 is for SD on base board - */ -#define CONFIG_SYS_MMC_ENV_DEV 1 /* USDHC2 */ -#define CONFIG_MMCROOT "/dev/mmcblk1p2" /* USDHC2 */ +/* On Apalis iMX8 USDHC1 is eMMC, USDHC2 is 8-bit SD and USDHC3 is 4-bit SD */ +#define CONFIG_SYS_MMC_ENV_DEV 0 /* USDHC1 eMMC */ +#define CONFIG_MMCROOT "/dev/mmcblk0p2" /* USDHC1 eMMC */ #define CONFIG_SYS_FSL_USDHC_NUM 3 /* Size of malloc() pool */ |