summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorArve Hjønnevåg <arve@android.com>2008-10-29 21:45:46 -0700
committerDaniel Walker <dwalker@codeaurora.org>2010-05-12 09:13:49 -0700
commit6bd631e17eaa0d045b259ff7a6625bfe96c15283 (patch)
tree2c525766beec53392754dadb851fa5e283f6ae59 /arch/arm
parenta32d2feb80bb2d186d415ed8bb4997148add0bd1 (diff)
downloadlinux-stable-6bd631e17eaa0d045b259ff7a6625bfe96c15283.tar.gz
linux-stable-6bd631e17eaa0d045b259ff7a6625bfe96c15283.tar.bz2
linux-stable-6bd631e17eaa0d045b259ff7a6625bfe96c15283.zip
[ARM] msm: halibut: Add memory configuration.
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-msm/board-halibut.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/board-halibut.c b/arch/arm/mach-msm/board-halibut.c
index e61967dde9a1..b8da1002f47d 100644
--- a/arch/arm/mach-msm/board-halibut.c
+++ b/arch/arm/mach-msm/board-halibut.c
@@ -26,6 +26,7 @@
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/flash.h>
+#include <asm/setup.h>
#include <mach/irqs.h>
#include <mach/board.h>
@@ -77,6 +78,15 @@ static void __init halibut_init(void)
platform_add_devices(devices, ARRAY_SIZE(devices));
}
+static void __init halibut_fixup(struct machine_desc *desc, struct tag *tags,
+ char **cmdline, struct meminfo *mi)
+{
+ mi->nr_banks=1;
+ mi->bank[0].start = PHYS_OFFSET;
+ mi->bank[0].node = PHYS_TO_NID(PHYS_OFFSET);
+ mi->bank[0].size = (101*1024*1024);
+}
+
static void __init halibut_map_io(void)
{
msm_map_common_io();
@@ -85,6 +95,7 @@ static void __init halibut_map_io(void)
MACHINE_START(HALIBUT, "Halibut Board (QCT SURF7200A)")
.boot_params = 0x10000100,
+ .fixup = halibut_fixup,
.map_io = halibut_map_io,
.init_irq = halibut_init_irq,
.init_machine = halibut_init,