diff options
-rw-r--r-- | include/configs/da850evm.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h index fb96f896d7..812bad8f41 100644 --- a/include/configs/da850evm.h +++ b/include/configs/da850evm.h @@ -173,6 +173,8 @@ #endif #ifdef CONFIG_ENV_IS_IN_MMC +#undef CONFIG_ENV_SIZE +#undef CONFIG_ENV_OFFSET #define CONFIG_ENV_SIZE (16 << 10) /* 16 KiB */ #define CONFIG_ENV_OFFSET (51 << 9) /* Sector 51 */ #undef CONFIG_ENV_IS_IN_FLASH @@ -215,10 +217,9 @@ #define LINUX_BOOT_PARAM_ADDR (PHYS_SDRAM_1 + 0x100) #define CONFIG_CMDLINE_TAG #define CONFIG_SETUP_MEMORY_TAGS -#define CONFIG_BOOTARGS "mem=32M console=ttyS2,115200n8 root=/dev/mmcblk0p1 rw rootwait ip=off" -#define CONFIG_BOOTCOMMAND "sf probe 0;sf read 0xc0700000 0x80000 0x220000;bootm 0xc0700000" +#define CONFIG_BOOTARGS "mem=32M console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=off" +#define CONFIG_BOOTCOMMAND "if fatload mmc 0 0xc0600000 boot.scr; then source 0xc0600000; else if fatload mmc 0 0xc0700000 uImage; then bootm c0700000; else sf probe 0; sf read 0xc0700000 0x80000 0x220000; bootm 0xc0700000; fi; fi" #define CONFIG_BOOTDELAY 3 - /* * U-Boot commands */ |