summaryrefslogtreecommitdiff
path: root/plat
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-04-21 02:05:28 +0100
committerAndre Przywara <andre.przywara@arm.com>2016-06-02 01:29:48 +0100
commit176571f482d96629e314dad44673a7492ffd3cfa (patch)
tree00d9050616297a9558643c40eca0eaa892836455 /plat
parent63a5c053331d0788b46d8e710fdce94972bcbc65 (diff)
sun50i: platform.mk: remove unused definitions
RAM_LOCATION_ID and friends are not used, so just remove them. Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'plat')
-rw-r--r--plat/sun50iw1p1/platform.mk32
1 files changed, 0 insertions, 32 deletions
diff --git a/plat/sun50iw1p1/platform.mk b/plat/sun50iw1p1/platform.mk
index 6d913f5..0123a04 100644
--- a/plat/sun50iw1p1/platform.mk
+++ b/plat/sun50iw1p1/platform.mk
@@ -28,38 +28,6 @@
# POSSIBILITY OF SUCH DAMAGE.
#
-# Shared memory may be allocated at the top of Trusted SRAM (tsram) or at the
-# base of Trusted SRAM (tdram)
-SUNXI_SHARED_DATA_LOCATION := tdram
-ifeq (${SUNXI_SHARED_DATA_LOCATION}, tsram)
- SUNXI_SHARED_DATA_LOCATION_ID := SUNXI_IN_TRUSTED_SRAM
-else ifeq (${SUNXI_SHARED_DATA_LOCATION}, tdram)
- SUNXI_SHARED_DATA_LOCATION_ID := SUNXI_IN_TRUSTED_DRAM
-else
- $(error "Unsupported SUNXI_SHARED_DATA_LOCATION value")
-endif
-
-# On FVP, the TSP can execute either from Trusted SRAM or Trusted DRAM.
-# Trusted SRAM is the default.
-SUNXI_TSP_RAM_LOCATION := tdram
-ifeq (${SUNXI_TSP_RAM_LOCATION}, tsram)
- SUNXI_TSP_RAM_LOCATION_ID := SUNXI_IN_TRUSTED_SRAM
-else ifeq (${SUNXI_TSP_RAM_LOCATION}, tdram)
- SUNXI_TSP_RAM_LOCATION_ID := SUNXI_IN_TRUSTED_DRAM
-else
- $(error "Unsupported SUNXI_TSP_RAM_LOCATION value")
-endif
-
-ifeq (${SUNXI_SHARED_DATA_LOCATION}, tsram)
- ifeq (${SUNXI_TSP_RAM_LOCATION}, tdram)
- $(error Shared data in Trusted SRAM and TSP in Trusted DRAM is not supported)
- endif
-endif
-
-# Process flags
-$(eval $(call add_define,SUNXI_SHARED_DATA_LOCATION_ID))
-$(eval $(call add_define,SUNXI_TSP_RAM_LOCATION_ID))
-
PLAT_INCLUDES := -Iplat/sun50iw1p1/include/