diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2009-11-04 07:19:05 -0500 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2009-11-05 05:10:36 -0500 |
commit | c97c5aa83c41a532bc67da356d77da929bc41b9c (patch) | |
tree | b01bec4b8151f5697512b180406c54bc5588811a /arch/arm/mach-realview/Kconfig | |
parent | 157aed7473d300587e89cc87e13f194e3fa6fa36 (diff) |
RealView: Add sparsemem support for the RealView PBX platform
The RealView PBX board has two 512MB blocks of memory - one at
0x70000000 (with 256MB mirror at 0) and another at 0x20000000. Only the
block at 0x70000000 (or the mirror at 0) may be used for DMA (e.g.
framebuffer). This patch adds the sparsemem definitions to allow the use
of all the memory split as follows:
256MB @ 0x00000000 (ZONE_DMA)
512MB @ 0x20000000 (ZONE_NORMAL)
256MB @ 0x80000000 (ZONE_NORMAL)
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm/mach-realview/Kconfig')
-rw-r--r-- | arch/arm/mach-realview/Kconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-realview/Kconfig b/arch/arm/mach-realview/Kconfig index dfc9b0bc6eb2..c48e1f2c3349 100644 --- a/arch/arm/mach-realview/Kconfig +++ b/arch/arm/mach-realview/Kconfig | |||
@@ -70,6 +70,8 @@ config MACH_REALVIEW_PBX | |||
70 | bool "Support RealView/PBX platform" | 70 | bool "Support RealView/PBX platform" |
71 | select ARM_GIC | 71 | select ARM_GIC |
72 | select HAVE_PATA_PLATFORM | 72 | select HAVE_PATA_PLATFORM |
73 | select ARCH_SPARSEMEM_ENABLE if CPU_V7 && !HIGH_PHYS_OFFSET | ||
74 | select ZONE_DMA if SPARSEMEM | ||
73 | help | 75 | help |
74 | Include support for the ARM(R) RealView PBX platform. | 76 | Include support for the ARM(R) RealView PBX platform. |
75 | 77 | ||
@@ -82,6 +84,7 @@ config REALVIEW_HIGH_PHYS_OFFSET | |||
82 | 0x70000000, 256MB of which being mirrored at 0x00000000. If | 84 | 0x70000000, 256MB of which being mirrored at 0x00000000. If |
83 | the board supports 512MB of RAM, this option allows the | 85 | the board supports 512MB of RAM, this option allows the |
84 | memory to be accessed contiguously at the high physical | 86 | memory to be accessed contiguously at the high physical |
85 | offset. | 87 | offset. On the PBX board, disabling this option allows 1GB of |
88 | RAM to be used with SPARSEMEM. | ||
86 | 89 | ||
87 | endmenu | 90 | endmenu |