Skip to contentSkip to conversation

Add missing SPL_HAVE_INIT_STACK for ouya and mocha

PATCH New Svyatoslav Ryhel 1 participant 3 messages Mar 30, 2025

lore
Share & tools
lore
#0 lore raw

cover Add missing SPL_HAVE_INIT_STACK for ouya and mocha

Ouya and Mocha were added around the same time SPL_HAVE_INIT_STACK was introduced by Simon and therefore do not include this config option. It is critical to add it before any defconfig resync, since the SPL_STACK option will then be removed.

Svyatoslav Ryhel (2):
configs: ouya: add missing SPL_HAVE_INIT_STACK option
configs: mocha: add missing SPL_HAVE_INIT_STACK option

 configs/mocha_defconfig | 1 +
 configs/ouya_defconfig  | 1 +
 2 files changed, 2 insertions(+)
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/2 configs: ouya: add missing SPL_HAVE_INIT_STACK option

Ouya was added and tested right before this config option was added. Add it to restore proper booting.

Fixes d6a53f52 ("spl: Add an SPL_HAVE_INIT_STACK option")
---
 configs/ouya_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/ouya_defconfig +1 -0
index ccd6ae4d36f..d4ae9dbb57c 100644
@@ -26,6 +26,7 @@ CONFIG_SYS_PBSIZE=2084
 CONFIG_SPL_FOOTPRINT_LIMIT=y
 CONFIG_SPL_MAX_FOOTPRINT=0x8000
 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
+CONFIG_SPL_HAVE_INIT_STACK=y
 CONFIG_SPL_SYS_MALLOC=y
 CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
 CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80090000
Signature · 1 line
2.43.0
#2 lore raw

PATCH 2/2 configs: mocha: add missing SPL_HAVE_INIT_STACK option

In reply to Svyatoslav Ryhel

Mocha was added and tested right before this config option was added. Add it to restore proper booting.

Fixes d6a53f52 ("spl: Add an SPL_HAVE_INIT_STACK option")
---
 configs/mocha_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/mocha_defconfig +1 -0
index 0cbedb21797..dfeb16ac08e 100644
@@ -28,6 +28,7 @@ CONFIG_SYS_PBSIZE=2086
 CONFIG_SPL_FOOTPRINT_LIMIT=y
 CONFIG_SPL_MAX_FOOTPRINT=0x8000
 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
+CONFIG_SPL_HAVE_INIT_STACK=y
 CONFIG_SPL_SYS_MALLOC=y
 CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
 CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80090000
Signature · 1 line
2.43.0