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)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Mon, 9 Jun 2014 15:27:10 +0000 (16:27 +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>
arch/arm64/boot/dts/juno.dts

index fe1252a..1d21bd9 100644 (file)
 
        memory@80000000 {
                device_type = "memory";
-               reg = <0x00000000 0x80000000 0x0 0x80000000>,
+               reg = <0x00000000 0x80000000 0x0 0x7f000000>,
                      <0x00000008 0x80000000 0x1 0x80000000>;
        };