aboutsummaryrefslogtreecommitdiff
path: root/platform/kendryte/k210
diff options
context:
space:
mode:
Diffstat (limited to 'platform/kendryte/k210')
-rw-r--r--platform/kendryte/k210/platform.c2
-rw-r--r--platform/kendryte/k210/platform.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/platform/kendryte/k210/platform.c b/platform/kendryte/k210/platform.c
index 00b38f7..2044307 100644
--- a/platform/kendryte/k210/platform.c
+++ b/platform/kendryte/k210/platform.c
@@ -138,6 +138,6 @@ const struct sbi_platform platform = {
.name = "Kendryte K210",
.features = SBI_PLATFORM_HAS_TIMER_VALUE,
.hart_count = K210_HART_COUNT,
- .hart_stack_size = K210_HART_STACK_SIZE,
+ .hart_stack_size = SBI_PLATFORM_DEFAULT_HART_STACK_SIZE,
.platform_ops_addr = (unsigned long)&platform_ops
};
diff --git a/platform/kendryte/k210/platform.h b/platform/kendryte/k210/platform.h
index 8e4664f..5269bc4 100644
--- a/platform/kendryte/k210/platform.h
+++ b/platform/kendryte/k210/platform.h
@@ -12,7 +12,6 @@
#include <sbi/riscv_io.h>
#define K210_HART_COUNT 2
-#define K210_HART_STACK_SIZE 8192
#define K210_UART_BAUDRATE 115200