platform: Set per-HART stack size to 8KB in the template platform codes

The template platform codes should set per-HART stack size to 8KB
to avoid possible mistakes of future platform ports.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
Bin Meng
2020-03-12 22:39:53 -07:00
committed by Anup Patel
parent 9275ed3949
commit 2343efd040

View File

@@ -223,6 +223,6 @@ const struct sbi_platform platform = {
.name = "platform-name",
.features = SBI_PLATFORM_DEFAULT_FEATURES,
.hart_count = 1,
.hart_stack_size = 4096,
.hart_stack_size = 8192,
.platform_ops_addr = (unsigned long)&platform_ops
};