public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] omap3evm: Pass 'mem' argument to linux kernel
@ 2011-09-27 11:21 Sanjeev Premi
  2011-09-27 12:05 ` Igor Grinberg
  2011-09-28 18:47 ` Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: Sanjeev Premi @ 2011-09-27 11:21 UTC (permalink / raw)
  To: u-boot

In absence of this argument, Linux kernel doesn't boot.

Default value has been set to 128M to ensure that
Linux kernel boots on older EVMs as well.

Signed-off-by: Sanjeev Premi <premi@ti.com>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
---

 This patch has been created against u-boot-ti/next.

 include/configs/omap3_evm.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
index 7af30c2..ea51216 100644
--- a/include/configs/omap3_evm.h
+++ b/include/configs/omap3_evm.h
@@ -200,11 +200,14 @@
 	"loadaddr=0x82000000\0" \
 	"usbtty=cdc_acm\0" \
 	"mmcdev=0\0" \
+	"memsize=128M\0" \
 	"console=ttyO0,115200n8\0" \
 	"mmcargs=setenv bootargs console=${console} " \
+		"mem=${memsize}\0 " \
 		"root=/dev/mmcblk0p2 rw " \
 		"rootfstype=ext3 rootwait\0" \
 	"nandargs=setenv bootargs console=${console} " \
+		"mem=${memsize}\0 " \
 		"root=/dev/mtdblock4 rw " \
 		"rootfstype=jffs2\0" \
 	"loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-09-28 18:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-27 11:21 [U-Boot] [PATCH] omap3evm: Pass 'mem' argument to linux kernel Sanjeev Premi
2011-09-27 12:05 ` Igor Grinberg
2011-09-27 18:08   ` Premi, Sanjeev
2011-09-28 18:53     ` Wolfgang Denk
2011-09-28 18:47 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox