[coreboot-gerrit] New patch to review for coreboot: e76cb7e arm64: Reorganize payload entry code and related Kconfigs

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Tue May 19 13:43:45 CEST 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10245

-gerrit

commit e76cb7e52894a8d2c166c3c198275f403fb0769e
Author: Julius Werner <jwerner at chromium.org>
Date:   Thu May 7 16:59:31 2015 -0700

    arm64: Reorganize payload entry code and related Kconfigs
    
    This patch slightly reorganizes arm64/boot.c with the aim of being more
    readable: Make spintable handling optional through a kconfig flag.
    
    [pg: taken from patch linked below]
    
    Change-Id: I64610640835473fcc3d9eff01feb5f861b753eb8
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
    Original-Commit-Id: 5067e47bc03f04ad2dba044f022716e0fc62bb9e
    Original-Change-Id: I1b2038acc0d054716a3c580ce97ea8e9a45abfa2
    Original-Signed-off-by: Julius Werner <jwerner at chromium.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/270783
    Original-Reviewed-by: Aaron Durbin <adurbin at chromium.org>
---
 src/arch/arm64/boot.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/arch/arm64/boot.c b/src/arch/arm64/boot.c
index 367aaac..c925c08 100644
--- a/src/arch/arm64/boot.c
+++ b/src/arch/arm64/boot.c
@@ -42,7 +42,8 @@ static void run_payload(struct prog *prog)
 		uint8_t current_el = get_current_el();
 
 		/* Start the other CPUs spinning. */
-		spintable_start();
+		if (IS_ENABLED(CONFIG_ARM64_USE_SPINTABLE))
+			spintable_start();
 
 		printk(BIOS_SPEW, "entry    = %p\n", doit);
 



More information about the coreboot-gerrit mailing list