diff options
author | Julius Werner <jwerner@chromium.org> | 2015-05-07 16:59:31 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-05-19 20:34:29 +0200 |
commit | b436ce1ac6a9b10d9e1f499476e36dde8928e950 (patch) | |
tree | 164796fc23cf9f9f6c804d9cbfbb676f68cd43c6 /src/arch | |
parent | f52602a74093a2e342454bc2930f8eee3bc4a670 (diff) |
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>
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/arm64/boot.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |