From 2b80945ac7e64b90a9d28e05f59341f88db16030 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Fri, 17 May 2019 08:49:01 -0700 Subject: [PATCH] platform: qemu/sifive_u: Update the hart count to 4 Since QEMU commit 8b1d0714bfdd "riscv: sifive_u: Allow up to 4 CPUs to be created", the maximum number of hart for sifive_u is 4. Change our hart count to match that. Signed-off-by: Bin Meng Reviewed-by: Atish Patra --- platform/qemu/sifive_u/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/qemu/sifive_u/platform.c b/platform/qemu/sifive_u/platform.c index 1dca2a1..470da35 100644 --- a/platform/qemu/sifive_u/platform.c +++ b/platform/qemu/sifive_u/platform.c @@ -17,7 +17,7 @@ /* clang-format off */ -#define SIFIVE_U_HART_COUNT 1 +#define SIFIVE_U_HART_COUNT 4 #define SIFIVE_U_HART_STACK_SIZE 8192 #define SIFIVE_U_SYS_CLK 1000000000