arm64: Juno: Carve out memory reserved for secure access.
authorLiviu Dudau <Liviu.Dudau@arm.com>
Mon, 9 Jun 2014 15:27:10 +0000 (16:27 +0100)
committerMark Brown <broonie@linaro.org>
Fri, 13 Jun 2014 18:38:15 +0000 (19:38 +0100)
Trusted Firmware 0.4 reserves the top 16MB of RAM available
in the first 4GB address space for the secure world use.
Carve out that memory from the device tree to avoid triggering
faults when accessing protected memory.

Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/boot/dts/juno.dts

index 9785a14ca604b63d3b3baee7dfbcc3aadf1d36ca..f260d702041c0460b314e7d3846bd17bb2626fda 100644 (file)
@@ -68,7 +68,7 @@
 
        memory@80000000 {
                device_type = "memory";
-               reg = <0x00000000 0x80000000 0x0 0x80000000>,
+               reg = <0x00000000 0x80000000 0x0 0x7f000000>,
                      <0x00000008 0x80000000 0x1 0x80000000>;
        };