diff options
author | Tom Rini <trini@konsulko.com> | 2024-07-15 12:42:00 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-07-19 16:48:07 -0600 |
commit | b81e31a1e6c5e0b20537fa8ffba67696dec46d58 (patch) | |
tree | 32de4fc057b04eec6cb089be0cb27ce19f90d6ec /arch/x86 | |
parent | 6b8df6055ab5b37c27679a5cd8ba61f702cab120 (diff) | |
download | u-boot-b81e31a1e6c5e0b20537fa8ffba67696dec46d58.zip u-boot-b81e31a1e6c5e0b20537fa8ffba67696dec46d58.tar.gz u-boot-b81e31a1e6c5e0b20537fa8ffba67696dec46d58.tar.bz2 |
bootstash: Do not provide a default address for all
A valid memory location to stash bootstage information at will be
architecture dependent. Move the existing defaults to the main Kconfig
file for this option and set 0x0 as the default only for sandbox.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/cpu/cpu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/cpu/cpu.c b/arch/x86/cpu/cpu.c index c843336..ad21fdb 100644 --- a/arch/x86/cpu/cpu.c +++ b/arch/x86/cpu/cpu.c @@ -75,8 +75,7 @@ int __weak x86_cleanup_before_linux(void) ret = mp_park_aps(); if (ret) return log_msg_ret("park", ret); - bootstage_stash((void *)CONFIG_BOOTSTAGE_STASH_ADDR, - CONFIG_BOOTSTAGE_STASH_SIZE); + bootstage_stash_default(); return 0; } |