diff --git a/fdts/tc-base.dtsi b/fdts/tc-base.dtsi index be0a9f605..735d429a5 100644 --- a/fdts/tc-base.dtsi +++ b/fdts/tc-base.dtsi @@ -247,10 +247,6 @@ reg = <0x0 TC_NS_OPTEE_BASE 0x0 TC_NS_OPTEE_SIZE>; }; - fwu_mm { - reg = <0x0 TC_NS_FWU_BASE 0x0 TC_NS_FWU_SIZE>; - no-map; - }; }; memory { diff --git a/plat/arm/board/tc/fdts/tc_spmc_manifest.dtsi b/plat/arm/board/tc/fdts/tc_spmc_manifest.dtsi index a6b63a1fe..737997d45 100644 --- a/plat/arm/board/tc/fdts/tc_spmc_manifest.dtsi +++ b/plat/arm/board/tc/fdts/tc_spmc_manifest.dtsi @@ -99,11 +99,7 @@ memory@1 { device_type = "ns-memory"; - reg = -#ifdef TS_SP_FW_CONFIG - <0x0 0x08000000 0x0 0x4000000>, -#endif /* TS_SP_FW_CONFIG */ - <0x0 TC_NS_DRAM1_BASE 0x0 TC_NS_DRAM1_SIZE>, + reg = <0x0 TC_NS_DRAM1_BASE 0x0 TC_NS_DRAM1_SIZE>, ; }; @@ -117,4 +113,11 @@ device_type = "device-memory"; reg = <0x0 PLAT_ARM_BOOT_UART_BASE 0x0 0x01000>; }; + +#ifdef TS_SP_FW_CONFIG + ns_flash { + device_type = "ns-device-memory"; + reg = <0x0 V2M_FLASH0_BASE 0x0 V2M_FLASH0_SIZE>; + }; +#endif }; diff --git a/plat/arm/board/tc/include/platform_def.h b/plat/arm/board/tc/include/platform_def.h index 0652148b1..9ea5dd2b9 100644 --- a/plat/arm/board/tc/include/platform_def.h +++ b/plat/arm/board/tc/include/platform_def.h @@ -51,9 +51,6 @@ * | (4KB) | * 0x8000_9000 ------------------ * | ... | - * 0xf8a0_0000 ------------------ TC_NS_FWU_BASE - * | FWU shmem | - * | (4MB) | * 0xf8e0_0000 ------------------ TC_NS_OPTEE_BASE * | OP-TEE shmem | * | (2MB) | @@ -85,8 +82,6 @@ #define TC_NS_OPTEE_SIZE (2 * SZ_1M) #define TC_NS_OPTEE_BASE (TC_NS_DRAM1_BASE + TC_NS_DRAM1_SIZE - TC_NS_OPTEE_SIZE) -#define TC_NS_FWU_SIZE (4 * SZ_1M) -#define TC_NS_FWU_BASE (TC_NS_OPTEE_BASE - TC_NS_FWU_SIZE) /* * Mappings for TC DRAM1 (non-secure) and TC TZC DRAM1 (secure) @@ -228,7 +223,7 @@ V2M_FLASH0_SIZE, \ MT_DEVICE | MT_RO | MT_SECURE) -#define PLAT_ARM_NSTIMER_FRAME_ID 0 +#define PLAT_ARM_NSTIMER_FRAME_ID U(1) #define PLAT_ARM_TRUSTED_ROM_BASE 0x0