diff options
author | Simon Glass <sjg@chromium.org> | 2024-08-21 10:19:13 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-08-26 14:05:38 -0600 |
commit | 2e9313179a846b581c0fc3f6a49e19f3d343efa8 (patch) | |
tree | 9385f80b73eb00be50c23cab00c9d4e0e5473ce1 /arch/x86/cpu/intel_common/cpu_from_spl.c | |
parent | e821897622a13d41c80993510be56e7011d1c43a (diff) |
global_data: Drop spl_handoff
Provide a function to locate this information, rather than doing it
automatically on startup, to save space in global_data.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/intel_common/cpu_from_spl.c')
-rw-r--r-- | arch/x86/cpu/intel_common/cpu_from_spl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/cpu/intel_common/cpu_from_spl.c b/arch/x86/cpu/intel_common/cpu_from_spl.c index 48b2ef253cb..5aad2ae7309 100644 --- a/arch/x86/cpu/intel_common/cpu_from_spl.c +++ b/arch/x86/cpu/intel_common/cpu_from_spl.c @@ -24,9 +24,7 @@ int arch_cpu_init(void) int ret; #if CONFIG_IS_ENABLED(HANDOFF) && IS_ENABLED(CONFIG_USE_HOB) - struct spl_handoff *ho = gd->spl_handoff; - - gd->arch.hob_list = ho->arch.hob_list; + gd->arch.hob_list = handoff_get(); #endif ret = x86_cpu_reinit_f(); |