platform: sophgo: allow any hart as cold boot hart
Signed-off-by: Xiaoguang Xing <xiaoguang.xing@sophgo.com>
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
#include <sbi/sbi_platform.h>
|
#include <sbi/sbi_platform.h>
|
||||||
#include <sbi_utils/fdt/fdt_helper.h>
|
#include <sbi_utils/fdt/fdt_helper.h>
|
||||||
|
|
||||||
static u32 selected_hartid = 0;
|
static u32 selected_hartid = -1;
|
||||||
|
|
||||||
static bool sg2260_cold_boot_allowed(u32 hartid,
|
static bool sg2260_cold_boot_allowed(u32 hartid,
|
||||||
const struct fdt_match *match)
|
const struct fdt_match *match)
|
||||||
|
|||||||
Reference in New Issue
Block a user