summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Kconfig1
-rw-r--r--src/arch/arm/Kconfig5
-rw-r--r--src/arch/mips/Kconfig5
3 files changed, 1 insertions, 10 deletions
diff --git a/src/Kconfig b/src/Kconfig
index 8a5d905a07..6cf31343cc 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -319,6 +319,7 @@ config HEAP_SIZE
config STACK_SIZE
hex
+ default 0x0 if (ARCH_RAMSTAGE_ARM || ARCH_RAMSTAGE_MIPS)
default 0x1000
config MAX_CPUS
diff --git a/src/arch/arm/Kconfig b/src/arch/arm/Kconfig
index 6bef91ce77..2499d2d075 100644
--- a/src/arch/arm/Kconfig
+++ b/src/arch/arm/Kconfig
@@ -31,8 +31,3 @@ config ARM_BOOTBLOCK_CUSTOM
config ARM_LPAE
bool
default n
-
-# Mark SMP stack size as 0 since we keep using SRAM stack throughout ramstage.
-config STACK_SIZE
- hex
- default 0x0
diff --git a/src/arch/mips/Kconfig b/src/arch/mips/Kconfig
index 71e5dc84eb..10349f2d1b 100644
--- a/src/arch/mips/Kconfig
+++ b/src/arch/mips/Kconfig
@@ -39,8 +39,3 @@ config ARCH_ROMSTAGE_MIPS
config ARCH_RAMSTAGE_MIPS
bool
default n
-
-# Mark SMP stack size as 0 since we keep using SRAM stack throughout ramstage.
-config STACK_SIZE
- hex
- default 0x0