DTS Meson-GXL ATF reserved memory

Amlogic changed memory location of firmware, patch fixes that issue.  Appears to fix the kernel crash on Le Potato, needs more testing.

https://patchwork.kernel.org/patch/9999929/
This commit is contained in:
Tonymac32 2017-10-12 01:03:53 -04:00 committed by GitHub
parent a8d1c1505f
commit 3bc5f7d001

View file

@ -0,0 +1,18 @@
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
index 28958f2..a42b90d 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi
@@ -50,6 +50,13 @@
/ {
compatible = "amlogic,meson-gxl";
+ reserved-memory {
+ /* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */
+ secmon_reserved_alt: secmon@05000000 {
+ reg = <0x0 0x05000000 0x0 0x300000>;
+ no-map;
+ };
+ };
soc {
usb0: usb@c9000000 {