summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2014-10-02 16:31:18 -0700
committerAaron Durbin <adurbin@google.com>2015-04-04 04:04:24 +0200
commit1ea2e76035e165b31dc3eb638ead1caa92db7bc4 (patch)
tree4b340241abaadbced514ce819be4cb807185050b /src
parentdfb8eb104a4160a4d33278468a4a1cc08f591e6f (diff)
armv4: Add verstage to armv4
BUG=None BRANCH=None TEST=Compiles successfully Original-Change-Id: I7735a2148da5330f220bd9a87b09e9fe3e37ffd1 Original-Signed-off-by: Furquan Shaikh <furquan@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/221322 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 5e43dfe1aab813f45f1123b0e2432cdab5738d87) Signed-off-by: Aaron Durbin <adurbin@chromium.org> Change-Id: If3d89ab79bae6d8f1b6f2d89b7693a79dca02476 Reviewed-on: http://review.coreboot.org/9252 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/arch/arm/armv4/Makefile.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/arch/arm/armv4/Makefile.inc b/src/arch/arm/armv4/Makefile.inc
index b234fff2d3..8557451c7c 100644
--- a/src/arch/arm/armv4/Makefile.inc
+++ b/src/arch/arm/armv4/Makefile.inc
@@ -40,6 +40,17 @@ bootblock-S-ccopts += $(armv4_flags)
endif # CONFIG_ARCH_BOOTBLOCK_ARMV4
+################################################################################
+## Verstage
+################################################################################
+
+ifeq ($(CONFIG_ARCH_VERSTAGE_ARM_V4),y)
+verstage-c-ccopts += $(armv4_flags)
+verstage-S-ccopts += $(armv4_flags)
+
+verstage-y += cache.c
+endif # CONFIG_ARCH_VERSTAGE_ARM_V4
+
###############################################################################
# romstage
###############################################################################