[U-Boot] [PATCH v3 1/1] arm64: dts: marvell: armada-ap806: reserve PSCI area

Heinrich Schuchardt xypron.glpk at gmx.de
Fri Dec 21 16:30:46 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

v3
	Move change from armada-8040-mcbin.dts to armada-ap806.dtsi.
	I only have a MACCHIATObin for testing. But in
	https://github.com/MarvellEmbeddedProcessors/linux-marvell
	it is done in the same way.
v2
	add missing right brace

---
 arch/arm/dts/armada-ap806.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/dts/armada-ap806.dtsi b/arch/arm/dts/armada-ap806.dtsi
index ebdee514c0..d28c0822f8 100644
--- a/arch/arm/dts/armada-ap806.dtsi
+++ b/arch/arm/dts/armada-ap806.dtsi
@@ -64,6 +64,17 @@
 		method = "smc";
 	};
 
+	reserved-memory {
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges;
+
+		psci-area at 4000000 {
+			reg = <0x0 0x4000000 0x0 0x200000>;
+			no-map;
+		};
+	};
+
 	ap806 {
 		#address-cells = <2>;
 		#size-cells = <2>;
-- 
2.19.2



More information about the U-Boot mailing list