summaryrefslogtreecommitdiff
path: root/src/arch/arm/armv7
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2014-10-02 16:27:52 -0700
committerAaron Durbin <adurbin@google.com>2015-04-04 04:04:15 +0200
commitdfb8eb104a4160a4d33278468a4a1cc08f591e6f (patch)
tree4c2752cc0b6859f1359ad1d4773b13cbc7e9ebc8 /src/arch/arm/armv7
parentac4fef83454243d75571bac627a8ec15d3fcd405 (diff)
armv7: Add config option guard for verstage class
Add files to verstage class depending upon value of CONFIG_ARCH_VERSTAGE_ARM_V7. BUG=None BRANCH=None TEST=Compiles successfully Original-Change-Id: I60fb8390abd9d378e38511d4f4ac323b43450232 Original-Signed-off-by: Furquan Shaikh <furquan@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/221321 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Tested-by: Furquan Shaikh <furquan@chromium.org> Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org> (cherry picked from commit 4889cb73b0579155c083bb5fa2895b4d52ab0a56) Signed-off-by: Aaron Durbin <adurbin@chromium.org> Change-Id: Iea788ed72344343b2e7a3d91cd7f27ce20f4f177 Reviewed-on: http://review.coreboot.org/9251 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/arch/arm/armv7')
-rw-r--r--src/arch/arm/armv7/Makefile.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/arm/armv7/Makefile.inc b/src/arch/arm/armv7/Makefile.inc
index c22c8c6b40..dac4276bbe 100644
--- a/src/arch/arm/armv7/Makefile.inc
+++ b/src/arch/arm/armv7/Makefile.inc
@@ -50,6 +50,8 @@ endif # CONFIG_ARCH_BOOTBLOCK_ARMV7
## verification stage
################################################################################
+ifeq ($(CONFIG_ARCH_VERSTAGE_ARM_V7),y)
+
verstage-c-ccopts += $(armv7_flags)
verstage-S-ccopts += $(armv7_asm_flags)
verstage-y += cache.c
@@ -58,6 +60,8 @@ verstage-y += exception.c
verstage-y += exception_asm.S
verstage-y += mmu.c
+endif # CONFIG_ARCH_VERSTAGE_ARMV7
+
###############################################################################
# romstage
###############################################################################