From 88b173b33b0810fbeff91ee589073efb9099a904 Mon Sep 17 00:00:00 2001 From: Atish Patra Date: Fri, 21 Dec 2018 11:29:28 -0800 Subject: 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 --- platform/kendryte/k210/platform.c | 1 + 1 file changed, 1 insertion(+) (limited to 'platform/kendryte') diff --git a/platform/kendryte/k210/platform.c b/platform/kendryte/k210/platform.c index 8e565dd..d3765d0 100644 --- a/platform/kendryte/k210/platform.c +++ b/platform/kendryte/k210/platform.c @@ -81,6 +81,7 @@ struct sbi_platform platform = { .hart_count = PLAT_HART_COUNT, .hart_stack_size = PLAT_HART_STACK_SIZE, + .disabled_hart_mask = 0, .console_init = k210_console_init, .console_putc = k210_console_putc, -- cgit v1.2.3