ARM: shmobile: kzm9g dts: Declare the full 512 MiB of RAM
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 6 Jan 2015 19:17:38 +0000 (20:17 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 23 Feb 2015 21:30:42 +0000 (06:30 +0900)
commit89ebd5459c3c43536f3dbec19216e97179647673
tree8d9d4c390232a0ba61ecd1599c773fbce1a334ed
parent09940bf079454a17c0bc298a4ca3678ce530b858
ARM: shmobile: kzm9g dts: Declare the full 512 MiB of RAM

Traditionally, the first 16 MiB of RAM was reserved for the RT
processor.  However, this is incompatible with CONFIG_AUTO_ZRELADDR=y,
which requires that the start address of physical memory is a multiple
of 128 MiB.

As CONFIG_AUTO_ZRELADDR=y is enabled for multi-platform kernels, declare
RAM to start at 0x40000000.

While at it, reclaim the last 8 MiB of RAM, too, so the full 512 MiB is
available. Note that kzm9g_defconfig still has
CONFIG_MEMORY_START=0x41000000 and CONFIG_MEMORY_SIZE=0x1f000000, so
before the advent of DT we scribbled over the last 8 MiB, too.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/sh73a0-kzm9g.dts