summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/intel_common/cpu_from_spl.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-12-01 07:42:35 -0700
committerTom Rini <trini@konsulko.com>2024-12-02 07:40:39 -0600
commit924a5e4e41e99cefabc465c82ffd91374d38a1e7 (patch)
tree0237d567a27505d6cb19cef0b3142ef738b5fca9 /arch/x86/cpu/intel_common/cpu_from_spl.c
parent03e57244bc260da9b9839d387cc5eb691f88b5bd (diff)
Revert "global_data: Drop spl_handoff"
This breaks chromebook_coral which says: Video: No video mode configured in FSP! This reverts commit 2e9313179a846b581c0fc3f6a49e19f3d343efa8. 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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/cpu/intel_common/cpu_from_spl.c b/arch/x86/cpu/intel_common/cpu_from_spl.c
index 5aad2ae7309..48b2ef253cb 100644
--- a/arch/x86/cpu/intel_common/cpu_from_spl.c
+++ b/arch/x86/cpu/intel_common/cpu_from_spl.c
@@ -24,7 +24,9 @@ int arch_cpu_init(void)
int ret;
#if CONFIG_IS_ENABLED(HANDOFF) && IS_ENABLED(CONFIG_USE_HOB)
- gd->arch.hob_list = handoff_get();
+ struct spl_handoff *ho = gd->spl_handoff;
+
+ gd->arch.hob_list = ho->arch.hob_list;
#endif
ret = x86_cpu_reinit_f();