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-02-06 16:21:03 +0100
commit65b8faac518e90ba1b53013e4639e2cd41e6bf2f (patch)
treee787455bbb94000ae5c4fa3e7c3657cd32b3d1dc
parent41ef3986ae21dc6fcc4355ab53ccc809d80d361e (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>
-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 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 */