From b436ce1ac6a9b10d9e1f499476e36dde8928e950 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Thu, 7 May 2015 16:59:31 -0700 Subject: 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 Original-Commit-Id: 5067e47bc03f04ad2dba044f022716e0fc62bb9e Original-Change-Id: I1b2038acc0d054716a3c580ce97ea8e9a45abfa2 Original-Signed-off-by: Julius Werner Original-Reviewed-on: https://chromium-review.googlesource.com/270783 Original-Reviewed-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/10245 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/arch/arm64/boot.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/arch/arm64') diff --git a/src/arch/arm64/boot.c b/src/arch/arm64/boot.c index 367aaaca2c..c925c08020 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); -- cgit v1.2.3