From 9af30e56dfe1fb6a3fd49cd4b21dd70b3d13bc91 Mon Sep 17 00:00:00 2001 From: "haijiao.liu@sophgo.com" Date: Wed, 14 Jun 2023 17:56:30 +0800 Subject: [PATCH] Fix system cannot boot when the some CPU status is set to disabled --- firmware/fw_base.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/fw_base.S b/firmware/fw_base.S index 87e4406e..329272cc 100644 --- a/firmware/fw_base.S +++ b/firmware/fw_base.S @@ -467,7 +467,7 @@ _start_warm: blt a4, s7, 1b li a4, -1 2: add s6, a4, zero -3: bge s6, s7, _start_hang +3: bgeu s6, s7, _start_hang /* Find the scratch space based on HART index */ lla tp, _fw_end