summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/bcm2835-rpi-b.dts
diff options
context:
space:
mode:
authorStephen Warren <swarren@wwwdotorg.org>2012-12-27 14:29:05 -0700
committerStephen Warren <swarren@wwwdotorg.org>2013-01-14 21:47:08 -0700
commit6520700fdb2cc07ed86e893a2e88c491e04d6b75 (patch)
tree818bbbef02da05bf4b0ef34997716dbc1314d128 /arch/arm/boot/dts/bcm2835-rpi-b.dts
parent9931faca02c604c22335f5a935a501bb2ace6e20 (diff)
downloadtalos-op-linux-6520700fdb2cc07ed86e893a2e88c491e04d6b75.tar.gz
talos-op-linux-6520700fdb2cc07ed86e893a2e88c491e04d6b75.zip
ARM: bcm2835 rpi: remove hard-coded memreserve from DT
The Raspberry Pi has either 256MB or 512MB of RAM. However, a portion is reserved for use by the VideoCore co-processor. The RPi DT contained a /memreserve/ statement to reserve that RAM. However, the exact amount of RAM used by the VideoCore is dynamic at boot-time; a firmware config file specifies the amount. As such, we can't hard-code the size in the DT. Remove the /memreserve/ statement. The bootloader is expected to adjust the /memory properties to reflect the RAM size the ARM CPU can use. Upstream U-Boot certainly does this, although I'm not sure that the basic firmware does if it boots the kernel directly; users may need to manually adjust their DT if not using U-Boot. Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Diffstat (limited to 'arch/arm/boot/dts/bcm2835-rpi-b.dts')
-rw-r--r--arch/arm/boot/dts/bcm2835-rpi-b.dts1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/bcm2835-rpi-b.dts b/arch/arm/boot/dts/bcm2835-rpi-b.dts
index 9b72054a0bc0..6ff26f99cacd 100644
--- a/arch/arm/boot/dts/bcm2835-rpi-b.dts
+++ b/arch/arm/boot/dts/bcm2835-rpi-b.dts
@@ -1,5 +1,4 @@
/dts-v1/;
-/memreserve/ 0x0c000000 0x04000000;
/include/ "bcm2835.dtsi"
/ {
OpenPOWER on IntegriCloud