[U-Boot] [PATCH 1/1] arm64: dts: marvell: mcbin: reserve PSCI area

Heinrich Schuchardt xypron.glpk at gmx.de
Fri Dec 21 11:08:58 UTC 2018


The memory area [0x4000000-0x4200000[ is occupied by the PSCI firmware. Any
attempt to access it from U-Boot leads to an immediate crash.

So let's make the same memory reservation as the vendor device tree.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
cf. https://lkml.org/lkml/2018/12/21/253
---
 arch/arm/dts/armada-8040-mcbin.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/dts/armada-8040-mcbin.dts b/arch/arm/dts/armada-8040-mcbin.dts
index f912596c2c..57ca5e7d98 100644
--- a/arch/arm/dts/armada-8040-mcbin.dts
+++ b/arch/arm/dts/armada-8040-mcbin.dts
@@ -28,6 +28,16 @@
 		reg = <0x0 0x0 0x0 0x80000000>;
 	};
 
+	reserved-memory {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+
+		psci_reserved: psci-area at 4000000 {
+		reg = <0x0 0x4000000 0x0 0x200000>;
+		no-map;
+	};
+
 	simple-bus {
 		compatible = "simple-bus";
 		#address-cells = <1>;
-- 
2.19.2



More information about the U-Boot mailing list