From 9275ed39492a3924a780a24a2c85b97807726965 Mon Sep 17 00:00:00 2001
From: Bin Meng <bmeng.cn@gmail.com>
Date: Thu, 12 Mar 2020 22:39:52 -0700
Subject: platform: ariane-fpga: Set per-HART stack size to 8KB

Recent commit

  4a603eb ("platform: kendryte/k210: Set per-HART stack size to 8KB")

forgot to update ariane-fpga codes, and the following commit

  678c3c3 ("include: sbi_scratch: Set per-HART scratch size to 4KB")

changed the per-HART scratch size to 4KB, which potentially breaks
ariane-fpga platform.

This patch set per-HART stack size of ariane-fpga to 8KB for consistency.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
---
 platform/ariane-fpga/platform.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'platform')

diff --git a/platform/ariane-fpga/platform.c b/platform/ariane-fpga/platform.c
index cc8429b..9d9207e 100644
--- a/platform/ariane-fpga/platform.c
+++ b/platform/ariane-fpga/platform.c
@@ -201,6 +201,6 @@ const struct sbi_platform platform = {
 	.name = "ARIANE RISC-V",
 	.features = SBI_ARIANE_FEATURES,
 	.hart_count = ARIANE_HART_COUNT,
-	.hart_stack_size = 4096,
+	.hart_stack_size = 8192,
 	.platform_ops_addr = (unsigned long)&platform_ops
 };
-- 
cgit v1.2.3