From: Richard Purdie Date: Sun, 2 Apr 2006 16:11:00 +0000 (+0100) Subject: [ARM] 3453/1: Poodle: Correctly set the memory size X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b2e6f75597af8fc765707111d3a71077167bdeb1;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git [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 Signed-off-by: Russell King --- 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")