platform:generic:sophgo: Allow the harts of chip0 as cold boot hart
This commit is contained in:
@@ -32,7 +32,7 @@ static bool mango_cold_boot_allowed(u32 hartid,
|
|||||||
if (selected_hartid != -1)
|
if (selected_hartid != -1)
|
||||||
return (selected_hartid == hartid);
|
return (selected_hartid == hartid);
|
||||||
|
|
||||||
return true;
|
return (hartid < 64);
|
||||||
}
|
}
|
||||||
|
|
||||||
int mango_early_init(bool cold_boot, const struct fdt_match *match)
|
int mango_early_init(bool cold_boot, const struct fdt_match *match)
|
||||||
|
|||||||
Reference in New Issue
Block a user