From 8c29c3d54bdf3045a0d987ee372e821e31bc9baa Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Tue, 30 Jan 2018 14:39:07 +0100 Subject: 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 --- include/configs/apalis-imx8.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/include/configs/apalis-imx8.h b/include/configs/apalis-imx8.h index 8a1f1fb45c..9b151eb8eb 100644 --- a/include/configs/apalis-imx8.h +++ b/include/configs/apalis-imx8.h @@ -195,11 +195,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 */ -- cgit v1.2.3