diff options
author | Atish Patra <atish.patra@wdc.com> | 2018-12-21 22:29:28 +0300 |
---|---|---|
committer | Atish Patra <atish.patra@wdc.com> | 2018-12-22 09:11:21 +0300 |
commit | 88b173b33b0810fbeff91ee589073efb9099a904 (patch) | |
tree | 468d39a310348468d559460bcc2a6fae0d1f69cc /platform/kendryte/k210/platform.c | |
parent | a6a5bb22a8c97f6191a0271f3dfe529038161675 (diff) | |
download | opensbi-88b173b33b0810fbeff91ee589073efb9099a904.tar.xz |
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>
Diffstat (limited to 'platform/kendryte/k210/platform.c')
-rw-r--r-- | platform/kendryte/k210/platform.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |