aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDan Handley <dan.handley@arm.com>2014-07-25 14:56:46 +0100
committerDan Handley <dan.handley@arm.com>2014-07-25 14:56:46 +0100
commit54d0911f643820350e52b97c494938e4f5ff2dd0 (patch)
tree88e9ccafbd21cf11b2b714a85433b9122716268c /Makefile
parent705bf6806ba03169966a7c7df53a195d0255fefa (diff)
parent2b98e7890b4fc28d0be9ca5b073fcd3f9eccde0e (diff)
downloadtrusted-firmware-a-54d0911f643820350e52b97c494938e4f5ff2dd0.tar.gz
Merge pull request #168 from sandrine-bailleux/sb/set-default-gic-arch
Define ARM_GIC_ARCH default value for all platforms
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 76dff06e1d..86a4878afd 100644
--- a/Makefile
+++ b/Makefile
@@ -51,6 +51,9 @@ NS_TIMER_SWITCH := 0
RESET_TO_BL31 := 0
# Include FP registers in cpu context
CTX_INCLUDE_FPREGS := 0
+# Determine the version of ARM GIC architecture to use for interrupt management
+# in EL3. The platform port can change this value if needed.
+ARM_GIC_ARCH := 2
# Checkpatch ignores
@@ -188,6 +191,10 @@ $(eval $(call add_define,RESET_TO_BL31))
$(eval $(call assert_boolean,CTX_INCLUDE_FPREGS))
$(eval $(call add_define,CTX_INCLUDE_FPREGS))
+# Process ARM_GIC_ARCH flag
+$(eval $(call add_define,ARM_GIC_ARCH))
+
+
ASFLAGS += -nostdinc -ffreestanding -Wa,--fatal-warnings \
-Werror -Wmissing-include-dirs \
-mgeneral-regs-only -D__ASSEMBLY__ \