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@chromium.org> Original-Commit-Id: 5067e47bc03f04ad2dba044f022716e0fc62bb9e Original-Change-Id: I1b2038acc0d054716a3c580ce97ea8e9a45abfa2 Original-Signed-off-by: Julius Werner <jwerner@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/270783 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/10245 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
f52602a740
commit
b436ce1ac6
src/arch/arm64
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue