[PATCH] arm: mini2440: Add memory size.

Marek Belisko marek.belisko at open-nandra.com
Wed Dec 1 05:22:36 EST 2010


MINI240 board has available always 64M of memory so add
size to memory device structure.

Signed-off-by: Marek Belisko <marek.belisko at 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




More information about the barebox mailing list