refactor(tc): Make tc0 tftf code generic to tc.
This code can be used for tc0, tc1 and tc2 testing so change from
tc0 naming to tc.
Signed-off-by: Daniel Boulby <daniel.boulby@arm.com>
Change-Id: Ied011db0cd688936d6ba20e48c5206de4891e732
diff --git a/Makefile b/Makefile
index 2c31a1a..00a4e2e 100644
--- a/Makefile
+++ b/Makefile
@@ -121,8 +121,8 @@
include realm/realm.mk
endif
-# cactus and ivy are supported on platforms: fvp, tc0
-ifeq (${ARCH}-${PLAT},$(filter ${ARCH}-${PLAT},aarch64-fvp aarch64-tc0))
+# cactus and ivy are supported on platforms: fvp, tc
+ifeq (${ARCH}-${PLAT},$(filter ${ARCH}-${PLAT},aarch64-fvp aarch64-tc))
include spm/cactus/cactus.mk
include spm/ivy/ivy.mk
endif
@@ -395,15 +395,15 @@
@exit 1
endif
-ifneq (${ARCH}-${PLAT},$(filter ${ARCH}-${PLAT},aarch64-fvp aarch64-tc0))
+ifneq (${ARCH}-${PLAT},$(filter ${ARCH}-${PLAT},aarch64-fvp aarch64-tc))
.PHONY: cactus
cactus:
- @echo "ERROR: $@ is supported only on AArch64 FVP or TC0."
+ @echo "ERROR: $@ is supported only on AArch64 FVP or TC."
@exit 1
.PHONY: ivy
ivy:
- @echo "ERROR: $@ is supported only on AArch64 FVP or TC0."
+ @echo "ERROR: $@ is supported only on AArch64 FVP or TC."
@exit 1
endif
@@ -557,7 +557,7 @@
seek=$(TFTF_MAX_IMAGE_SIZE))
endif
-ifeq (${ARCH}-${PLAT},aarch64-tc0)
+ifeq (${ARCH}-${PLAT},aarch64-tc)
$(eval $(call MAKE_IMG,cactus))
$(eval $(call MAKE_IMG,ivy))
endif