blob: c770b53c0811683c0b2f963966149f204add82d3 [file] [log] [blame]
Bin Meng5dbe3042016-02-17 00:16:21 -08001/*
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
11int 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}