summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-04-02 17:11:00 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-04-02 17:11:00 +0100
commitb2e6f75597af8fc765707111d3a71077167bdeb1 (patch)
tree3df1ca8c023bf758e9c12dc8a3bdd8a8fbf0f0ed
parentd66e35fab8789b5dd6f1b8e6f3871ea4f44d32a3 (diff)
downloadlinux-3.10-b2e6f75597af8fc765707111d3a71077167bdeb1.tar.gz
linux-3.10-b2e6f75597af8fc765707111d3a71077167bdeb1.tar.bz2
linux-3.10-b2e6f75597af8fc765707111d3a71077167bdeb1.zip
[ARM] 3453/1: Poodle: Correctly set the memory size
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>
-rw-r--r--arch/arm/mach-pxa/poodle.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c
index b45560a8f6c..a042473deed 100644
--- a/arch/arm/mach-pxa/poodle.c
+++ b/arch/arm/mach-pxa/poodle.c
@@ -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")