summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2018-01-30 14:39:07 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2018-11-29 10:49:36 +0100
commita90ba0b545e88c0182ee0c9033020d952fd54aff (patch)
tree14e413892425dc54c774fac236243443354870ac
parent331fc0f28dc6b3a4938c66a5788041e527eabc8b (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)
-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 */