aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-07-29 12:31:17 +0200
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-08-01 11:58:23 +0200
commit4f0c4be1c34f934ad33edb0f29f7f249e5de4b40 (patch)
treee00358c0f291604a06ece01b53620bd8b7e6f497
parente01aed47d6a0e4d99e886d80b885fe0898850357 (diff)
downloadu-boot-4f0c4be1c34f934ad33edb0f29f7f249e5de4b40.zip
u-boot-4f0c4be1c34f934ad33edb0f29f7f249e5de4b40.tar.gz
u-boot-4f0c4be1c34f934ad33edb0f29f7f249e5de4b40.tar.bz2
x86: rename CONFIG_STACK_SIZE
Configuration variables should have the same meaning independent of the architecture. x86 and ARM both use CONFIG_STACK_SIZE: * x86: U-Boot's runtime stack size during reboot * ARM: max stack size that can be used by U-Boot Rename the x86 configuration variable to CONFIG_STACK_SIZE_REBOOT Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
-rw-r--r--arch/x86/Kconfig2
-rw-r--r--arch/x86/lib/fsp/fsp_dram.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index cbca69e..a34b108 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -811,7 +811,7 @@ config S3_VGA_ROM_RUN
graphics console won't work without VGA options ROMs. Set it to N
if your kernel is only on a serial console.
-config STACK_SIZE
+config STACK_SIZE_RESUME
hex
depends on HAVE_ACPI_RESUME
default 0x1000
diff --git a/arch/x86/lib/fsp/fsp_dram.c b/arch/x86/lib/fsp/fsp_dram.c
index 01d498c..faa819f 100644
--- a/arch/x86/lib/fsp/fsp_dram.c
+++ b/arch/x86/lib/fsp/fsp_dram.c
@@ -121,7 +121,7 @@ unsigned int install_e820_map(unsigned int max_entries,
ulong stack_size;
stack_size = CONFIG_IS_ENABLED(HAVE_ACPI_RESUME,
- (CONFIG_STACK_SIZE), (0));
+ (CONFIG_STACK_SIZE_RESUME), (0));
/*
* Everything between U-Boot's stack and ram top needs to be
* reserved in order for ACPI S3 resume to work.