summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2018-01-30 14:39:07 +0100
committerStefan Agner <stefan.agner@toradex.com>2018-01-30 14:39:07 +0100
commit8c29c3d54bdf3045a0d987ee372e821e31bc9baa (patch)
tree24ede58c7e6068484254de36866c3acffd89932a
parent5a893f3d535784952deb2a901681c2d1ed0f877e (diff)
apalis-imx8: use eMMC as environment location/default boot devicetoradex_imx_v2017.03_4.9.51_imx8_beta1-bring_up
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>
-rw-r--r--include/configs/apalis-imx8.h8
1 files 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 */