diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2020-03-12 22:39:54 -0700 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-03-14 09:14:00 +0530 |
commit | 72a0628c7e8063f1e6c02541cbd459eff617dd07 (patch) | |
tree | e07f26d457e2a6e672116ca08eccb4a367dedfe0 /platform/kendryte/k210/platform.h | |
parent | 2343efd0401c329187f1375114b79dd2fb102e55 (diff) |
platform: Use one unified per-HART stack size macro for all platforms
As of today all platforms use 8KB of per-HART stack hence there is
no need for each platform to define its own macro or use the magic
number. Create one macro for all platforms. Platform still can use
its own version if needed.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'platform/kendryte/k210/platform.h')
-rw-r--r-- | platform/kendryte/k210/platform.h | 1 |
1 files changed, 0 insertions, 1 deletions
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 |