瀏覽代碼

[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>
Richard Purdie 19 年之前
父節點
當前提交
b2e6f75597
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      arch/arm/mach-pxa/poodle.c

+ 4 - 0
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")