diff --git a/plat/arm/board/tc/fdts/tc_fw_config.dts b/plat/arm/board/tc/fdts/tc_fw_config.dts index a84c7f85f..982da5b3a 100644 --- a/plat/arm/board/tc/fdts/tc_fw_config.dts +++ b/plat/arm/board/tc/fdts/tc_fw_config.dts @@ -1,10 +1,11 @@ /* - * Copyright (c) 2020-2021, Arm Limited. All rights reserved. + * Copyright (c) 2020-2024, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include +#include /dts-v1/; @@ -25,8 +26,8 @@ }; hw-config { - load-address = <0x0 0x83000000>; - max-size = <0x8000>; + load-address = <0x0 PLAT_HW_CONFIG_DTB_BASE>; + max-size = ; id = ; }; }; diff --git a/plat/arm/board/tc/include/platform_def.h b/plat/arm/board/tc/include/platform_def.h index 130111ede..a42e39dbe 100644 --- a/plat/arm/board/tc/include/platform_def.h +++ b/plat/arm/board/tc/include/platform_def.h @@ -28,6 +28,11 @@ * - Region to load secure partitions * * + * 0x8000_0000 ------------------ TC_NS_DRAM1_BASE + * | DTB | + * | (32K) | + * 0x8000_8000 ------------------ + * | ... | * 0xf8a0_0000 ------------------ TC_NS_FWU_BASE * | FWU shmem | * | (4MB) | @@ -79,7 +84,7 @@ TC_TZC_DRAM1_SIZE, \ MT_MEMORY | MT_RW | MT_SECURE) -#define PLAT_HW_CONFIG_DTB_BASE ULL(0x83000000) +#define PLAT_HW_CONFIG_DTB_BASE TC_NS_DRAM1_BASE #define PLAT_HW_CONFIG_DTB_SIZE ULL(0x8000) #define PLAT_DTB_DRAM_NS MAP_REGION_FLAT( \