1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2016 Google, Inc
10 #include <asm/cpu_common.h>
11 #include <asm/intel_regs.h>
12 #include <asm/lapic.h>
13 #include <asm/lpc_common.h>
17 #include <asm/microcode.h>
19 DECLARE_GLOBAL_DATA_PTR;
21 int arch_cpu_init(void)
25 #if CONFIG_IS_ENABLED(HANDOFF) && IS_ENABLED(CONFIG_USE_HOB)
26 struct spl_handoff *ho = gd->spl_handoff;
28 gd->arch.hob_list = ho->arch.hob_list;
30 ret = x86_cpu_reinit_f();