quark: Introduce Quark Secure Partition
Test partition designed to have a virtual address space as small as
possible in order to test the extension ARMv8.4-TTST. This Secure
Partition doesn't have print capabilities. The only service it provides
is one that returns a magic number to verify that it has been loaded.
Change-Id: I431f6c65f2926d486836d12ddfefe05e83b0c47f
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
diff --git a/Makefile b/Makefile
index e699def..bd179b9 100644
--- a/Makefile
+++ b/Makefile
@@ -117,6 +117,7 @@
include spm/cactus_mm/cactus_mm.mk
include spm/cactus/cactus.mk
include spm/ivy/ivy.mk
+include spm/quark/quark.mk
################################################################################
# Include libc
@@ -256,6 +257,12 @@
IVY_ASFLAGS += ${COMMON_ASFLAGS}
IVY_LDFLAGS += ${COMMON_LDFLAGS}
+QUARK_SOURCES += ${LIBC_SRCS}
+QUARK_INCLUDES += ${PLAT_INCLUDES}
+QUARK_CFLAGS += ${COMMON_CFLAGS}
+QUARK_ASFLAGS += ${COMMON_ASFLAGS}
+QUARK_LDFLAGS += ${COMMON_LDFLAGS}
+
.PHONY: locate-checkpatch
locate-checkpatch:
ifndef CHECKPATCH
@@ -332,6 +339,11 @@
ivy:
@echo "ERROR: $@ is supported only on AArch64 FVP."
@exit 1
+
+.PHONY: quark
+quark:
+ @echo "ERROR: $@ is supported only on AArch64 FVP."
+ @exit 1
endif
MAKE_DEP = -Wp,-MD,$(DEP) -MT $$@
@@ -460,6 +472,7 @@
$(eval $(call MAKE_IMG,cactus_mm))
$(eval $(call MAKE_IMG,cactus))
$(eval $(call MAKE_IMG,ivy))
+ $(eval $(call MAKE_IMG,quark))
endif
# The EL3 test payload is only supported in AArch64. It has an independent build
@@ -481,7 +494,7 @@
.PHONY: help
help:
- @echo "usage: ${MAKE} PLAT=<${PLATFORMS}> <all|tftf|ns_bl1u|ns_bl2u|cactus|ivy|el3_payload|distclean|clean|checkcodebase|checkpatch>"
+ @echo "usage: ${MAKE} PLAT=<${PLATFORMS}> <all|tftf|ns_bl1u|ns_bl2u|cactus|ivy|quark|el3_payload|distclean|clean|checkcodebase|checkpatch>"
@echo ""
@echo "PLAT is used to specify which platform you wish to build."
@echo "If no platform is specified, PLAT defaults to: ${DEFAULT_PLAT}"
@@ -495,6 +508,7 @@
@echo " cactus Build the Cactus image (Test S-EL0 payload) and resource description."
@echo " cactus_mm Build the Cactus-MM image (Test S-EL0 payload)."
@echo " ivy Build the Ivy image (Test S-EL0 payload) and resource description."
+ @echo " quark Build the Quark image (Test S-EL0 payload) and resource description."
@echo " el3_payload Build the EL3 test payload"
@echo " checkcodebase Check the coding style of the entire source tree"
@echo " checkpatch Check the coding style on changes in the current"