Skip to content

Commit 609d0ac

Browse files
enjoy-digitaltrabucayre
authored andcommitted
litex/vexriscv: increate HART_COUNT to 8, minor cleanup.
1 parent e2a918d commit 609d0ac

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

platform/litex/vexriscv/platform.c

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,10 @@
1818

1919
/* clang-format off */
2020

21-
#define VEX_HART_COUNT 4
22-
#define VEX_PLATFORM_FEATURES \
23-
(SBI_PLATFORM_HAS_TIMER_VALUE | SBI_PLATFORM_HAS_MFAULTS_DELEGATION)
24-
25-
#define VEX_CLINT_ADDR 0xF0010000
26-
27-
#define VEX_HART_STACK_SIZE 8192
28-
29-
21+
#define VEX_HART_COUNT 8
22+
#define VEX_PLATFORM_FEATURES (SBI_PLATFORM_HAS_TIMER_VALUE | SBI_PLATFORM_HAS_MFAULTS_DELEGATION)
23+
#define VEX_CLINT_ADDR 0xF0010000
24+
#define VEX_HART_STACK_SIZE 8192
3025

3126
/* clang-format on */
3227

@@ -125,7 +120,7 @@ const struct sbi_platform_operations platform_ops = {
125120
const struct sbi_platform platform = {
126121
.opensbi_version = OPENSBI_VERSION,
127122
.platform_version = SBI_PLATFORM_VERSION(0x0, 0x01),
128-
.name = "LiteX/VexRiscv SMP",
123+
.name = "LiteX / VexRiscv-SMP",
129124
.features = VEX_PLATFORM_FEATURES,
130125
.hart_count = VEX_HART_COUNT,
131126
.hart_stack_size = VEX_HART_STACK_SIZE,

0 commit comments

Comments
 (0)