diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2009-11-04 07:19:04 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2009-11-05 05:10:36 -0500 |
commit | 5b39d1548dc2751f8de89e6f429b6560a137eebb (patch) | |
tree | c121a4118a4da4441b8dad03362ebaab98a1867a /arch/arm/mach-realview/realview_pb11mp.c | |
parent | 9b229fa0951fb47cbc178be4bd8e9ef185b38802 (diff) |
RealView: Add default memory configuration
This patch adds a realview_fixup() function called during booting to set
up the memory banks. This way there is no need to pass a "mem=" argument
on the kernel command line.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm/mach-realview/realview_pb11mp.c')
-rw-r--r-- | arch/arm/mach-realview/realview_pb11mp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-realview/realview_pb11mp.c b/arch/arm/mach-realview/realview_pb11mp.c index 070d284ce96e..9bbbfc05f225 100644 --- a/arch/arm/mach-realview/realview_pb11mp.c +++ b/arch/arm/mach-realview/realview_pb11mp.c | |||
@@ -347,6 +347,7 @@ MACHINE_START(REALVIEW_PB11MP, "ARM-RealView PB11MPCore") | |||
347 | .phys_io = REALVIEW_PB11MP_UART0_BASE, | 347 | .phys_io = REALVIEW_PB11MP_UART0_BASE, |
348 | .io_pg_offst = (IO_ADDRESS(REALVIEW_PB11MP_UART0_BASE) >> 18) & 0xfffc, | 348 | .io_pg_offst = (IO_ADDRESS(REALVIEW_PB11MP_UART0_BASE) >> 18) & 0xfffc, |
349 | .boot_params = PHYS_OFFSET + 0x00000100, | 349 | .boot_params = PHYS_OFFSET + 0x00000100, |
350 | .fixup = realview_fixup, | ||
350 | .map_io = realview_pb11mp_map_io, | 351 | .map_io = realview_pb11mp_map_io, |
351 | .init_irq = gic_init_irq, | 352 | .init_irq = gic_init_irq, |
352 | .timer = &realview_pb11mp_timer, | 353 | .timer = &realview_pb11mp_timer, |