From f2954509b0ca4fa67cb1a004668241e85c8d755e Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Mon, 26 Oct 2015 09:43:47 +0100 Subject: apalis/colibri_imx6: enable emmc boot support commands Enable eMMC specific boot support commands by defining CONFIG_SUPPORT_EMMC_BOOT in our Apalis/Colibri iMX6 configuration files. This allows switching to proper eMMC (hardware) boot area partition booting once our update scripts can cope with this as well as follows: Configure the eMMC to 8-bit DDR boot operation mode: mmc bootbus 0 2 1 2 Enable booting from the (hardware) boot area partition 1 and the boot acknowledge to be sent during boot operation: mmc partconf 0 1 1 0 BTW: A good overview about the thematic can be found in Micron's TN-FC-06: Booting from Embedded MMC (e.MMC) - JEDEC v. 4.41. --- include/configs/apalis_imx6.h | 1 + include/configs/colibri_imx6.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/configs/apalis_imx6.h b/include/configs/apalis_imx6.h index 9f533da837..a45cb23807 100644 --- a/include/configs/apalis_imx6.h +++ b/include/configs/apalis_imx6.h @@ -70,6 +70,7 @@ #define CONFIG_SYS_FSL_ESDHC_ADDR 0 #define CONFIG_SYS_FSL_USDHC_NUM 3 +#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */ #define CONFIG_MMC #define CONFIG_CMD_MMC #define CONFIG_GENERIC_MMC diff --git a/include/configs/colibri_imx6.h b/include/configs/colibri_imx6.h index f69c30c6cb..afcf1b9689 100644 --- a/include/configs/colibri_imx6.h +++ b/include/configs/colibri_imx6.h @@ -63,6 +63,7 @@ #define CONFIG_SYS_FSL_ESDHC_ADDR 0 #define CONFIG_SYS_FSL_USDHC_NUM 2 +#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */ #define CONFIG_MMC #define CONFIG_CMD_MMC #define CONFIG_GENERIC_MMC -- cgit v1.2.3