blob: 81b54bb8dda5a35b3c35203dbd1233f05931eb19 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Bin Meng5dbe3042016-02-17 00:16:21 -08002/*
3 * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
Bin Meng5dbe3042016-02-17 00:16:21 -08004 */
5
Simon Glass97589732020-05-10 11:40:02 -06006#include <init.h>
Bin Meng5dbe3042016-02-17 00:16:21 -08007#include <asm/post.h>
8#include <asm/processor.h>
Tom Rini412a0212024-04-27 08:10:56 -06009#include <asm/u-boot-x86.h>
Bin Meng5dbe3042016-02-17 00:16:21 -080010
11int arch_cpu_init(void)
12{
Bin Meng5dbe3042016-02-17 00:16:21 -080013 post_code(POST_CPU_INIT);
14
Masahiro Yamada17103212016-09-06 22:17:36 +090015 return x86_cpu_init_f();
Bin Meng5dbe3042016-02-17 00:16:21 -080016}