Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Bin Meng | 5dbe304 | 2016-02-17 00:16:21 -0800 | [diff] [blame] | 2 | /* |
3 | * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com> | ||||
Bin Meng | 5dbe304 | 2016-02-17 00:16:21 -0800 | [diff] [blame] | 4 | */ |
5 | |||||
Simon Glass | 9758973 | 2020-05-10 11:40:02 -0600 | [diff] [blame] | 6 | #include <init.h> |
Bin Meng | 5dbe304 | 2016-02-17 00:16:21 -0800 | [diff] [blame] | 7 | #include <asm/post.h> |
8 | #include <asm/processor.h> | ||||
Tom Rini | 412a021 | 2024-04-27 08:10:56 -0600 | [diff] [blame] | 9 | #include <asm/u-boot-x86.h> |
Bin Meng | 5dbe304 | 2016-02-17 00:16:21 -0800 | [diff] [blame] | 10 | |
11 | int arch_cpu_init(void) | ||||
12 | { | ||||
Bin Meng | 5dbe304 | 2016-02-17 00:16:21 -0800 | [diff] [blame] | 13 | post_code(POST_CPU_INIT); |
14 | |||||
Masahiro Yamada | 1710321 | 2016-09-06 22:17:36 +0900 | [diff] [blame] | 15 | return x86_cpu_init_f(); |
Bin Meng | 5dbe304 | 2016-02-17 00:16:21 -0800 | [diff] [blame] | 16 | } |