forked from Mirrors/opensbi
Introduce hart disabled parameter in platform.
As of now, uboot doesn't have support for SMP. Moreover, unleashed board has a E51 hart which doesn't not support S mode. We should only boot only 1 non-zero hart. Signed-off-by: Atish Patra <atish.patra@wdc.com>
This commit is contained in:
@@ -211,8 +211,6 @@ int sbi_hart_init(struct sbi_scratch *scratch, u32 hartid)
|
||||
|
||||
void __attribute__((noreturn)) sbi_hart_hang(void)
|
||||
{
|
||||
sbi_printf("\nHART%u Hang !!\n\n", sbi_current_hartid());
|
||||
|
||||
while (1)
|
||||
wfi();
|
||||
__builtin_unreachable();
|
||||
|
Reference in New Issue
Block a user