From 177976286e347acd905d8082f31c201b9900d28e Mon Sep 17 00:00:00 2001 From: Manish V Badarkhe Date: Tue, 7 Feb 2023 11:26:38 +0000 Subject: [PATCH] feat(fvp): update device tree with load addresses of TOS_FW config Provided both the root and secure addresses for TOS_FW config in case of RME enabled systems where root address is in Root SRAM and secure address is in Trusted DRAM. Non-RME systems are unaffected by this change. Change-Id: Ifb927c90fa5a68fe5362980858b4ddc5403ac95b Signed-off-by: Manish V Badarkhe --- plat/arm/board/fvp/fdts/fvp_fw_config.dts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plat/arm/board/fvp/fdts/fvp_fw_config.dts b/plat/arm/board/fvp/fdts/fvp_fw_config.dts index 4c8bf3fb0..4adf5d58f 100644 --- a/plat/arm/board/fvp/fdts/fvp_fw_config.dts +++ b/plat/arm/board/fvp/fdts/fvp_fw_config.dts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2022, Arm Limited. All rights reserved. + * Copyright (c) 2019-2023, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -40,7 +40,11 @@ /* If required, SPD should enable loading of trusted OS fw config */ #if defined(SPD_tspd) || defined(SPD_spmd) tos_fw-config { + load-address = <0x0 0x04001500>; +#if ENABLE_RME + secondary-load-address = <0x0 0x7e00000>; +#endif /* ENABLE_RME */ max-size = <0xB00>; id = ; }; -- 2.39.5