From dbbc9a6790e8da63e5b2c19b7e01a2c303b156e3 Mon Sep 17 00:00:00 2001 From: Zelalem Aweke Date: Tue, 13 Jul 2021 18:59:19 -0500 Subject: [PATCH] refactor(plat/fvp): update FVP platform DTS for FEAT_RME This patch make minor modifications to FVP DTS including modifying the Non-secure memory range when RME is enabled. Signed-off-by: Zelalem Aweke Change-Id: I6b3650a2abfff10462a8a2d42755e6d764f7b035 --- fdts/fvp-base-gicv3-psci-common.dtsi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/fdts/fvp-base-gicv3-psci-common.dtsi b/fdts/fvp-base-gicv3-psci-common.dtsi index b6753de8e..3cb613f63 100644 --- a/fdts/fvp-base-gicv3-psci-common.dtsi +++ b/fdts/fvp-base-gicv3-psci-common.dtsi @@ -24,7 +24,11 @@ #address-cells = <2>; #size-cells = <2>; - chosen { }; +#if (ENABLE_RME == 1) + chosen { bootargs = "mem=1G console=ttyAMA0 earlycon=pl011,0x1c090000 root=/dev/vda ip=on";}; +#else + chosen {}; +#endif aliases { serial0 = &v2m_serial0; @@ -135,8 +139,13 @@ memory@80000000 { device_type = "memory"; +#if (ENABLE_RME == 1) + reg = <0x00000000 0x80000000 0 0x7C000000>, + <0x00000008 0x80000000 0 0x80000000>; +#else reg = <0x00000000 0x80000000 0 0x7F000000>, <0x00000008 0x80000000 0 0x80000000>; +#endif }; gic: interrupt-controller@2f000000 {