* [PATCH] arm: mini2440: Add memory size.
@ 2010-12-01 10:22 Marek Belisko
0 siblings, 0 replies; only message in thread
From: Marek Belisko @ 2010-12-01 10:22 UTC (permalink / raw)
To: barebox; +Cc: Marek Belisko
MINI240 board has available always 64M of memory so add
size to memory device structure.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
---
arch/arm/boards/mini2440/mini2440.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boards/mini2440/mini2440.c b/arch/arm/boards/mini2440/mini2440.c
index a673a5d..9639176 100644
--- a/arch/arm/boards/mini2440/mini2440.c
+++ b/arch/arm/boards/mini2440/mini2440.c
@@ -47,6 +47,7 @@ static struct memory_platform_data ram_pdata = {
static struct device_d sdram_dev = {
.name = "mem",
.map_base = CS6_BASE,
+ .size = 64 * 1024 * 1024,
.platform_data = &ram_pdata,
};
--
1.7.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-12-01 10:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-01 10:22 [PATCH] arm: mini2440: Add memory size Marek Belisko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox