diff options
author | Sudhakar Rajashekhara <sudhakar.raj@ti.com> | 2010-09-21 13:43:54 +0530 |
---|---|---|
committer | Sudhakar Rajashekhara <sudhakar.raj@ti.com> | 2010-09-23 18:37:21 +0530 |
commit | 3ef075ec7c7cb1b046719ca495de97bd72e6a5d4 (patch) | |
tree | 1a4b76399002cb8bba1b6a8581b818aaa9300b68 /include/configs/da850evm.h | |
parent | 282427584793d8d785c21f8f28718d46ef1d6390 (diff) |
da850/omap-l138: Modify the bootargs and bootcmd to boot from MMC/SPI.
Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Diffstat (limited to 'include/configs/da850evm.h')
-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 fb96f896d7d..812bad8f41b 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 */ |