Skip to content

Commit d350d92

Browse files
jaccoo01adeaarm
authored andcommitted
RSE: neoverse_rd: Enable routing tables in OTP
For RDV3 platforms which define routing table layouts (by specifying a TGF file), enable the CMake configuration variable which specifies that the routing table should be placed in the OTP. Change-Id: I02978c7630e7b92e940ef68216db7df3569a53b8 Signed-off-by: Jackson Cooper-Driver <[email protected]>
1 parent f6f6aa8 commit d350d92

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

platform/ext/target/arm/rse/common/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ target_compile_definitions(platform_region_defs
4747
$<$<BOOL:${RSE_SUPPORT_ROM_LIB_RELOCATION}>:RSE_SUPPORT_ROM_LIB_RELOCATION>
4848
RSE_AMOUNT=${RSE_AMOUNT}
4949
$<$<BOOL:${RSE_OTP_HAS_RSE_ID}>:RSE_OTP_HAS_RSE_ID>
50+
$<$<BOOL:${RSE_OTP_HAS_ROUTING_TABLES}>:RSE_OTP_HAS_ROUTING_TABLES>
5051
$<$<BOOL:${TFM_PARTITION_DELEGATED_ATTESTATION}>:RSE_BOOT_KEYS_CCA>
5152
$<$<BOOL:${TFM_PARTITION_DPE}>:RSE_BOOT_KEYS_DPE>
5253
TFM_UNIQUE_ERROR_CODES=1

platform/ext/target/arm/rse/neoverse_rd/rdv3/config.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ elseif (TFM_PLATFORM_VARIANT STREQUAL "2")
1515
set(PLAT_LCP_COUNT 4 CACHE STRING "Number of LCPs to load")
1616
set(RSE_AMOUNT 4 CACHE STRING "Amount of RSEs in the system")
1717
set(MULTI_RSE_TOPOLOGY_FILE ${CMAKE_CURRENT_LIST_DIR}/bl1/rdv3cfg2.tgf CACHE STRING "Topology file for RSE to RSE BL1 communication")
18+
set(RSE_OTP_HAS_ROUTING_TABLES ON CACHE BOOL "Whether the RSE OTP contains the RSE communications routing tables")
1819
else()
1920
set(PLAT_LCP_COUNT 16 CACHE STRING "Number of LCPs to load")
2021
endif()

platform/ext/target/arm/rse/neoverse_rd/rdv3r1/config.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ else()
1919
set(MULTI_RSE_TOPOLOGY_FILE ${CMAKE_CURRENT_LIST_DIR}/bl1/rdv3r1cfg1.tgf CACHE STRING "Topology file for RSE to RSE BL1 communication")
2020
endif()
2121
set(PLAT_SHARED_LCP TRUE CACHE BOOL "Whether shared LCP is enabled where LCP cores are mapped to AP cores in 1:N mapping opposed to 1:1")
22+
set(RSE_OTP_HAS_ROUTING_TABLES ON CACHE BOOL "Whether the RSE OTP contains the RSE communications routing tables")
2223

2324
# Once all cache options are set, set common options as fallback
2425
include(${CMAKE_CURRENT_LIST_DIR}/../common/config.cmake)

0 commit comments

Comments
 (0)