]> code.ossystems Code Review - bsp/u-boot.git/commitdiff
mx53ard: Change default environment to cope with OE changes
authorOtavio Salvador <otavio@ossystems.com.br>
Wed, 24 Apr 2013 18:30:24 +0000 (15:30 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 24 Apr 2013 21:20:01 +0000 (18:20 -0300)
OpenEmbedded has change partitioning layout of generated image so it
does not raise warnings during the boot regarding unkown partition
being used for U-Boot.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
include/configs/mx53ard.h

index 339bf5a884e9855a1b58a23a25e0643779be6805..ef0f3f087c5cf5f005fb6e7877ae0ef38b43678c 100644 (file)
        "ip_dyn=yes\0" \
        "mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
        "mmcpart=" __stringify(CONFIG_SYS_MMC_ENV_PART) "\0" \
-       "mmcroot=/dev/mmcblk0p3 rootwait rw\0" \
+       "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
        "update_sd_firmware_filename=u-boot.imx\0" \
        "update_sd_firmware=" \
                "if test ${ip_dyn} = yes; then " \
 #define CONFIG_ENV_SIZE        (8 * 1024)
 #define CONFIG_ENV_IS_IN_MMC
 #define CONFIG_SYS_MMC_ENV_DEV 0
-#define CONFIG_SYS_MMC_ENV_PART        2
+#define CONFIG_SYS_MMC_ENV_PART        1
 
 #define CONFIG_OF_LIBFDT