Merge tag 'u-boot-atmel-fixes-2019.07-a' of git://git.denx.de/u-boot-atmel
[oweals/u-boot.git] / arch / x86 / cpu / intel_common / cpu_from_spl.c
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Copyright (c) 2016 Google, Inc
4  */
5
6 #include <common.h>
7 #include <dm.h>
8 #include <errno.h>
9 #include <asm/cpu_common.h>
10 #include <asm/intel_regs.h>
11 #include <asm/lapic.h>
12 #include <asm/lpc_common.h>
13 #include <asm/msr.h>
14 #include <asm/mtrr.h>
15 #include <asm/post.h>
16 #include <asm/microcode.h>
17
18 DECLARE_GLOBAL_DATA_PTR;
19
20 int arch_cpu_init(void)
21 {
22         int ret;
23
24         ret = x86_cpu_reinit_f();
25
26         return ret;
27 }