summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/intel_common/cpu_from_spl.c
diff options
context:
space:
mode:
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, 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();