[coreboot-gerrit] Patch set updated for coreboot: d1a2483 ARM: Make it possible to use a custom bootblock implementation.

Isaac Christensen (isaac.christensen@se-eng.com) gerrit at coreboot.org
Tue Aug 19 02:12:36 CEST 2014


Isaac Christensen (isaac.christensen at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6710

-gerrit

commit d1a24831da6139cb6e26289704545f46b39a4245
Author: Gabe Black <gabeblack at google.com>
Date:   Sun Sep 29 05:40:13 2013 -0700

    ARM: Make it possible to use a custom bootblock implementation.
    
    Tegra needs to use a custom bootblock implementation because it starts on a
    coprocessor which uses ARMv4. It doesn't have the same control registers,
    caches, etc., and the regular bootblock gets exceptions and dies.
    
    Change-Id: Id197db2939bc840ad64244d6e2017fc5c89e0cbd
    Signed-off-by: Gabe Black <gabeblack at google.com>
    Reviewed-on: https://chromium-review.googlesource.com/171018
    Reviewed-by: Ronald Minnich <rminnich at chromium.org>
    Commit-Queue: Gabe Black <gabeblack at chromium.org>
    Tested-by: Gabe Black <gabeblack at chromium.org>
    (cherry picked from commit a66393fdd6fe68757e394b8a611e610f1938771d)
    Signed-off-by: Isaac Christensen <isaac.christensen at se-eng.com>
---
 src/arch/armv7/Makefile.inc | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/arch/armv7/Makefile.inc b/src/arch/armv7/Makefile.inc
index a18398a..c5f9666 100644
--- a/src/arch/armv7/Makefile.inc
+++ b/src/arch/armv7/Makefile.inc
@@ -51,11 +51,13 @@ endif # CONFIG_ARCH_ARMV7
 
 ifeq ($(CONFIG_ARCH_BOOTBLOCK_ARMV7),y)
 
-bootblock-y += id.S
+ifneq ($(CONFIG_ARM_BOOTBLOCK_CUSTOM),y)
 bootblock-y += bootblock.S
-
+bootblock-$(CONFIG_BOOTBLOCK_SIMPLE) += bootblock_simple.c
+bootblock-$(CONFIG_BOOTBLOCK_NORMAL) += bootblock_normal.c
+endif
+bootblock-y += id.S
 $(obj)/arch/arm/id.bootblock.o: $(obj)/build.h
-bootblock-y += $(call strip_quotes,$(CONFIG_BOOTBLOCK_SOURCE))
 
 bootblock-y += stages.c
 bootblock-y += cache.c



More information about the coreboot-gerrit mailing list