riscv: Make stack size shift configurable
authorChia-Wei Wang <chiawei_wang@aspeedtech.com>
Tue, 10 Sep 2024 09:39:14 +0000 (17:39 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 11 Sep 2024 12:35:03 +0000 (20:35 +0800)
Add prompt for STACK_SIZE_SHIFT to make it configurable.
The default value remains 14 as usual.

Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/Kconfig

index c5859c5..d0476f9 100644 (file)
@@ -453,7 +453,7 @@ config RISCV_PRIV_1_9
          memory is configured was also changed.
 
 config STACK_SIZE_SHIFT
-       int
+       int "Stack size shift"
        default 14
 
 config OF_BOARD_FIXUP