RealView: Allow PHYS_OFFSET at 0x70000000
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 1 Dec 2008 14:54:55 +0000 (14:54 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 1 Dec 2008 14:54:55 +0000 (14:54 +0000)
commit70bb62f8ecdda2d172b05d33b0e6750e3fe6d1c7
tree40342bddef6912e4f6fee821f2fb2e4e84b4382b
parent877d1f338912c1bf49a026eeca1d411755efece5
RealView: Allow PHYS_OFFSET at 0x70000000

RealView boards like PB11MPCore have 512MB of RAM available contiguously
at 0x70000000. Half of the memory is mirrored at 0x00000000 for
backwards compatibility. This patch adds the
CONFIG_REALVIEW_HIGH_PHYS_OFFSET option option to change the physical
base address so that the full amount of RAM is available to Linux. Note
that the EB board has 256MB of RAM also mirrored at 0x70000000, the only
board without this feature being PB1176.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/mach-realview/Kconfig
arch/arm/mach-realview/Makefile.boot
arch/arm/mach-realview/include/mach/memory.h
arch/arm/mach-realview/realview_eb.c
arch/arm/mach-realview/realview_pb1176.c
arch/arm/mach-realview/realview_pb11mp.c