summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2019-05-17 18:49:01 +0300
committerAnup Patel <anup@brainfault.org>2019-05-30 20:06:17 +0300
commit2b80945ac7e64b90a9d28e05f59341f88db16030 (patch)
treec41c120962158c136cfeb3455cf2204a0cbbff65
parenta6395acd6cb2c35871481d3e4f0beaf449f8c0fd (diff)
downloadopensbi-2b80945ac7e64b90a9d28e05f59341f88db16030.tar.xz
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 <bmeng.cn@gmail.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
-rw-r--r--platform/qemu/sifive_u/platform.c2
1 files changed, 1 insertions, 1 deletions
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