mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-03-01 03:21:21 +00:00
38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
From 75325878062f46b0236ccdb6140cde7b2f490794 Mon Sep 17 00:00:00 2001
|
|
From: kszaq <kszaquitto@gmail.com>
|
|
Date: Sat, 6 Jul 2019 07:54:44 +0000
|
|
Subject: [PATCH 04/88] HACK: arm64: dts: meson-gx: add ATF BL32 reserved
|
|
memory region
|
|
|
|
Vendor firmware/uboot has an additional reserved region for BL32 trusted
|
|
firmware. If a board uses BL32 firmware, booting kernel without knowledge
|
|
of this region would cause an immediate kernel panic on SError Interrupt.
|
|
|
|
TODO: This should be enabled only for boards actually requiring it.
|
|
|
|
Signed-off-by: kszaq <kszaquitto@gmail.com>
|
|
---
|
|
arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 6 ++++++
|
|
1 file changed, 6 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
|
|
index 797e193af8e3..cf9eb7c8a6f0 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
|
|
@@ -43,6 +43,12 @@
|
|
no-map;
|
|
};
|
|
|
|
+ /* 32 MiB reserved for ARM Trusted Firmware (BL32) */
|
|
+ secmon_reserved_bl32: secmon@5300000 {
|
|
+ reg = <0x0 0x05300000 0x0 0x2000000>;
|
|
+ no-map;
|
|
+ };
|
|
+
|
|
linux,cma {
|
|
compatible = "shared-dma-pool";
|
|
reusable;
|
|
--
|
|
2.17.1
|
|
|