[U-Boot] [PATCH] da850: modify default bootargs and bootcmd

nagabhushana.netagunte at ti.com
2011-07-28T16:25:33Z

From: Nagabhushana Netagunte <nagabhushana.netagunte@ti.com>

Starting from kernel 2.6.24 'rootwait' can be used to wait for
the rootdevice to become ready, this is preferred over choosing
a random delay.

In the case of da8xx/omap-l1xx the delay is dependant on the MMC
card present and can take more than 10 seconds in some cases.

Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: Nagabhushana Netagunte <nagabhushana.netagunte@ti.com>
---
include/configs/da850evm.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index 70d250e..21d8fe3 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -185,7 +185,9 @@
#define CONFIG_REVISION_TAG
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_BOOTARGS \
- "mem=32M console=ttyS2,115200n8 root=/dev/mtdblock2 rw noinitrd ip=dhcp"
+ "mem=32M console=ttyS2,115200n8 root=/dev/mmcblk0p1 rw rootwait ip=off"
+#define CONFIG_BOOTCMD \
+ "sf probe 0;sf read 0xc0700000 0x80000 0x220000;bootm 0xc0700000"
#define CONFIG_BOOTDELAY 3

/*
--
1.6.2.4