Bin Meng | 5dbe304 | 2016-02-17 00:16:21 -0800 | [diff] [blame] | 1 | /* |
2 | * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com> | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: GPL-2.0+ | ||||
5 | */ | ||||
6 | |||||
7 | #include <common.h> | ||||
8 | #include <asm/post.h> | ||||
9 | #include <asm/processor.h> | ||||
10 | |||||
11 | int arch_cpu_init(void) | ||||
12 | { | ||||
13 | int ret; | ||||
14 | |||||
15 | post_code(POST_CPU_INIT); | ||||
16 | |||||
17 | ret = x86_cpu_init_f(); | ||||
18 | if (ret) | ||||
19 | return ret; | ||||
20 | |||||
21 | return 0; | ||||
22 | } |