mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-28 03:37:17 +01:00
mediatek: dts: increase mt7986 ATF reserved memory to 256 kiB
The latest Mediatek open-source Trusted Firmware-A project has reserved 256 KiB for BL2 and BL31. Link: https://lore.kernel.org/all/OSBPR01MB16701BDF64C43EF07390C830BC29A@OSBPR01MB1670.jpnprd01.prod.outlook.com/ Signed-off-by: Shiji Yang <yangshiji66@outlook.com> Link: https://github.com/openwrt/openwrt/pull/19741 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
5fc5b0c18e
commit
2958eeea3b
1 changed files with 29 additions and 0 deletions
|
|
@ -0,0 +1,29 @@
|
|||
From 236317dd4e55512933dcdaec3d0b4a0824f5e5bd Mon Sep 17 00:00:00 2001
|
||||
From: Shiji Yang <yangshiji66@outlook.com>
|
||||
Date: Sun, 10 Aug 2025 18:11:01 +0800
|
||||
Subject: [PATCH] arm64: dts: mediatek: mt7986: increase ATF reserved memory to
|
||||
256 kiB
|
||||
|
||||
The latest Mediatek open-source Trusted Firmware-A project has
|
||||
reserved 256 KiB for BL2 and BL31. It is better to increase the
|
||||
reserved memory region in the Linux kernel to protect the data.
|
||||
|
||||
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
|
||||
---
|
||||
arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
|
||||
+++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
|
||||
@@ -76,9 +76,9 @@
|
||||
record-size = <0x1000>;
|
||||
};
|
||||
|
||||
- /* 192 KiB reserved for ARM Trusted Firmware (BL31) */
|
||||
+ /* 256 KiB reserved for ARM Trusted Firmware (BL31 + BL32) */
|
||||
secmon_reserved: secmon@43000000 {
|
||||
- reg = <0 0x43000000 0 0x30000>;
|
||||
+ reg = <0 0x43000000 0 0x40000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
Loading…
Add table
Reference in a new issue