From 725bce31fb65e7f98d79246dc5148a26325996e5 Mon Sep 17 00:00:00 2001 From: Xiaoguang Xing Date: Tue, 30 Jan 2024 15:28:34 +0800 Subject: [PATCH] platform: sophgo: allow any hart as cold boot hart Signed-off-by: Xiaoguang Xing --- platform/generic/sophgo/sg2260.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/generic/sophgo/sg2260.c b/platform/generic/sophgo/sg2260.c index aaa9491b..f2873a78 100644 --- a/platform/generic/sophgo/sg2260.c +++ b/platform/generic/sophgo/sg2260.c @@ -19,7 +19,7 @@ #include #include -static u32 selected_hartid = 0; +static u32 selected_hartid = -1; static bool sg2260_cold_boot_allowed(u32 hartid, const struct fdt_match *match)