diff options
| author | Heinrich Schuchardt <[email protected]> | 2026-02-17 08:46:55 +0100 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2026-03-14 08:09:16 +0100 |
| commit | ca495f011f603e3f033e9a14100cc43ebb297c0b (patch) | |
| tree | fb1812de9b637f2a7f4ae327052685cae0529f03 /Kconfig | |
| parent | fab3b667b4128fae2d94752bb03088f84dafcf89 (diff) | |
efi_loader: require at least 128 KiB of stack space
The UEFI specification requires at least 128 KiB stack space. Consider this
value as a prerequisite for CONFIG_EFI_LOADER.
Mention the requirement in the CONFIG_STACK_SPACE description and decribe
that the UEFI sub-system uses CONFIG_STACK_SPACE when defining the memory
map.
Reviewed-by: Ilias Apalodimas <[email protected]>
Signed-off-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'Kconfig')
| -rw-r--r-- | Kconfig | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -615,9 +615,11 @@ config STACK_SIZE default 0x4000 if ARCH_STM32 default 0x1000000 help - Define Max stack size that can be used by U-Boot. This value is used - by the UEFI sub-system. On some boards initrd_high is calculated as - base stack pointer minus this stack size. + Define Max stack size that can be used by U-Boot. The UEFI sub-system + considers this value when setting up the memory map. The UEFI + specification requires 128 KiB or more of available stack space. On + some boards initrd_high is calculated as base stack pointer minus this + stack size. config SYS_MEM_TOP_HIDE hex "Exclude some memory from U-Boot / OS information" |
