[ARM] 3453/1: Poodle: Correctly set the memory size
authorRichard Purdie <rpurdie@rpsys.net>
Sun, 2 Apr 2006 16:11:00 +0000 (17:11 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 2 Apr 2006 16:11:00 +0000 (17:11 +0100)
Patch from Richard Purdie

Force the Sharp Zaurus Poodle memory size to 32MB.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/poodle.c

index b45560a8f6c4d7e32dc1b24e7ff14e041b89536f..a042473deeddf40a3a29c49a942aebb802cc8248 100644 (file)
@@ -307,6 +307,10 @@ static void __init fixup_poodle(struct machine_desc *desc,
                struct tag *tags, char **cmdline, struct meminfo *mi)
 {
        sharpsl_save_param();
+       mi->nr_banks=1;
+       mi->bank[0].start = 0xa0000000;
+       mi->bank[0].node = 0;
+       mi->bank[0].size = (32*1024*1024);
 }
 
 MACHINE_START(POODLE, "SHARP Poodle")