From ddd4e7fe6a1eda6549a27ff45526c7c9b5843e38 Mon Sep 17 00:00:00 2001 From: Daiane Angolini Date: Wed, 22 Oct 2014 08:53:54 -0200 Subject: [PATCH] embestmx6boards: Change default bootenv configuration Change CONFIG_MMCROOT and CONFIG_SYS_MMC_ENV_DEV in order to have a smooth boot process with sdcard image built from meta-fsl-arm-extra. Signed-off-by: Daiane Angolini Signed-off-by: Otavio Salvador --- include/configs/embestmx6boards.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/embestmx6boards.h b/include/configs/embestmx6boards.h index 809ec21de7..08653a3dfa 100644 --- a/include/configs/embestmx6boards.h +++ b/include/configs/embestmx6boards.h @@ -15,7 +15,7 @@ #define CONFIG_MXC_UART_BASE UART2_BASE #define CONFIG_CONSOLE_DEV "ttymxc1" -#define CONFIG_MMCROOT "/dev/mmcblk1p2" +#define CONFIG_MMCROOT "/dev/mmcblk0p2" #define PHYS_SDRAM_SIZE (1u * 1024 * 1024 * 1024) @@ -101,7 +101,7 @@ /* RiOTboard */ #define CONFIG_FDTFILE "imx6dl-riotboard.dtb" #define CONFIG_SYS_FSL_USDHC_NUM 3 -#define CONFIG_SYS_MMC_ENV_DEV 2 /* SDHC4 */ +#define CONFIG_SYS_MMC_ENV_DEV 0 /* SDHC2 */ #define CONFIG_ENV_OFFSET (6 * 64 * 1024) #define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */ #elif defined(CONFIG_ENV_IS_IN_SPI_FLASH) -- 2.40.1