diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-07-29 12:37:35 +0200 |
---|---|---|
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-08-01 11:58:23 +0200 |
commit | 74b869bae74cb749ed4feef54f6d2630aed2a828 (patch) | |
tree | 9fc6e3a25f6d3f8c665b45e599ccc4e667074c43 /Kconfig | |
parent | 4f0c4be1c34f934ad33edb0f29f7f249e5de4b40 (diff) |
efi_loader: use CONFIG_STACK_SIZE in the UEFI sub-system
The Kconfig symbol CONFIG_STACK_SIZE is used both by ARM and Microblaze
with the same meaning. Move it to menu 'General setup' so that we can use
it for all architectures.
Use the value of CONFIG_STACK_SIZE instead of a hard coded 16 MiB value for
reserving memory in the UEFI sub-system.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'Kconfig')
-rw-r--r-- | Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -369,6 +369,16 @@ config PLATFORM_ELFENTRY default "__start" if MIPS default "_start" +config STACK_SIZE + hex "Define max stack size that can be used by U-Boot" + default 0x4000000 if ARCH_VERSAL || ARCH_ZYNQMP + default 0x200000 if MICROBLAZE + 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. + endmenu # General setup menu "Boot images" |