From 32e29fcb0cba19d615f97cc8d8eeb3aff89f656d Mon Sep 17 00:00:00 2001 From: "Andrew F. Davis" Date: Tue, 22 Jan 2019 14:00:16 -0600 Subject: ti: k3: common: Remove shared RAM space We don't use this for anything right now, remove it. Signed-off-by: Andrew F. Davis Change-Id: I11505d01834f7ff1fdba46fda0acbb3b56fc9b66 --- plat/ti/k3/common/k3_bl31_setup.c | 1 - plat/ti/k3/include/platform_def.h | 11 +++-------- 2 files changed, 3 insertions(+), 9 deletions(-) (limited to 'plat/ti/k3') diff --git a/plat/ti/k3/common/k3_bl31_setup.c b/plat/ti/k3/common/k3_bl31_setup.c index 0cdb4df42..69ecbfc6d 100644 --- a/plat/ti/k3/common/k3_bl31_setup.c +++ b/plat/ti/k3/common/k3_bl31_setup.c @@ -21,7 +21,6 @@ /* Table of regions to map using the MMU */ const mmap_region_t plat_k3_mmap[] = { - MAP_REGION_FLAT(SHARED_RAM_BASE, SHARED_RAM_SIZE, MT_DEVICE | MT_RW | MT_SECURE), MAP_REGION_FLAT(K3_USART_BASE, K3_USART_SIZE, MT_DEVICE | MT_RW | MT_SECURE), MAP_REGION_FLAT(K3_GIC_BASE, K3_GIC_SIZE, MT_DEVICE | MT_RW | MT_SECURE), MAP_REGION_FLAT(SEC_PROXY_RT_BASE, SEC_PROXY_RT_SIZE, MT_DEVICE | MT_RW | MT_SECURE), diff --git a/plat/ti/k3/include/platform_def.h b/plat/ti/k3/include/platform_def.h index 088a93398..c768b50e2 100644 --- a/plat/ti/k3/include/platform_def.h +++ b/plat/ti/k3/include/platform_def.h @@ -74,18 +74,13 @@ /* * ARM-TF lives in SRAM, partition it here - */ - -#define SHARED_RAM_BASE BL31_LIMIT -#define SHARED_RAM_SIZE 0x00001000 - -/* + * * BL3-1 specific defines. * - * Put BL3-1 at the base of the Trusted SRAM, before SHARED_RAM. + * Put BL3-1 at the base of the Trusted SRAM. */ #define BL31_BASE SEC_SRAM_BASE -#define BL31_SIZE (SEC_SRAM_SIZE - SHARED_RAM_SIZE) +#define BL31_SIZE SEC_SRAM_SIZE #define BL31_LIMIT (BL31_BASE + BL31_SIZE) #define BL31_PROGBITS_LIMIT BL31_LIMIT -- cgit v1.2.3