summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorNylon Chen <nylon7@andestech.com>2019-08-02 08:34:42 +0300
committerAnup Patel <anup@brainfault.org>2019-08-07 15:34:53 +0300
commitc1b9dd3ab5177c3f3116b713e0e398243f73f2fa (patch)
tree8297d1c34bb61e139568dae1f9f409b416b17477 /firmware
parent0f18b3fe0adda745b3ac80f7b79ce2b8512e2e95 (diff)
downloadopensbi-c1b9dd3ab5177c3f3116b713e0e398243f73f2fa.tar.xz
firmware: Fix the loop condition of _wait_relocate_copy_done section
If core-0 have finished _fdt_reloc_done but any of other cores has not yet left the loop in _wait_relocate_copy_done, they could never leave the loop because _boot_status is not equal to 1.
Diffstat (limited to 'firmware')
-rw-r--r--firmware/fw_base.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/fw_base.S b/firmware/fw_base.S
index 706db99..225f64f 100644
--- a/firmware/fw_base.S
+++ b/firmware/fw_base.S
@@ -121,7 +121,7 @@ _wait_relocate_copy_done:
nop
nop
nop
- bne t4, t5, 1b
+ bgt t4, t5, 1b
jr t3
_relocate_done: