]> code.ossystems Code Review - bsp/u-boot.git/commitdiff
embestmx6boards: Change default bootenv configuration
authorDaiane Angolini <daiane.angolini@freescale.com>
Wed, 22 Oct 2014 10:53:54 +0000 (08:53 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 9 Apr 2015 11:25:23 +0000 (08:25 -0300)
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 <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
include/configs/embestmx6boards.h

index b4b3ae842f75b6aa71b8e15781db7ebf5a8afc2c..029550fcb8b8032ec23db323a3bbf7ba8909ee8d 100644 (file)
@@ -23,7 +23,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)
 
 /* 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)