diff options
author | Jaxson Han <jaxson.han@arm.com> | 2021-05-25 14:25:04 +0800 |
---|---|---|
committer | Mark Rutland <mark.rutland@arm.com> | 2021-07-22 11:30:07 +0100 |
commit | 114a9fa2e031f94821d96b1b8b2fc6d5e7b60a51 (patch) | |
tree | 7b63a1ef0ee96d1bb53f1bfe5bb5a196b166389a | |
parent | 05347efa932c34b8ab332f5b829f57a2a9ace91b (diff) | |
download | boot-wrapper-aarch64-114a9fa2e031f94821d96b1b8b2fc6d5e7b60a51.tar.gz |
aarch64: Remove the redundant setup_stack
Since we already have set up a stack above, there is no need to do it
again.
Also, in fact it's a bug: setup_stack expects the logical CPU ID in
w0, and here we always call it with w0 being 1.
Signed-off-by: Jaxson Han <jaxson.han@arm.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
-rw-r--r-- | arch/aarch64/boot.S | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/aarch64/boot.S b/arch/aarch64/boot.S index a9264de..37759ce 100644 --- a/arch/aarch64/boot.S +++ b/arch/aarch64/boot.S @@ -32,7 +32,6 @@ _start: ldr x1, =flag_no_el3 str w0, [x1] - bl setup_stack b start_no_el3 1: mov x0, #0x30 // RES1 |