From c1b9dd3ab5177c3f3116b713e0e398243f73f2fa Mon Sep 17 00:00:00 2001 From: Nylon Chen <nylon7@andestech.com> Date: Fri, 2 Aug 2019 13:34:42 +0800 Subject: 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. --- firmware/fw_base.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware') 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: -- cgit v1.2.3