x86: Add a CPU init function for TPL
authorSimon Glass <sjg@chromium.org>
Mon, 21 Oct 2019 03:37:54 +0000 (21:37 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Sat, 2 Nov 2019 23:20:28 +0000 (07:20 +0800)
commitece3a4607010226082f2e08afa37419e01ad853f
tree0fb6a2b0d0d74fa85e0d027d693f505503f172b7
parent0ced70a0bb7a114226c831bf2058681011c0fb4e
x86: Add a CPU init function for TPL

For TPL we only need to set up the features and identify the CPU to a
basic level. Add a function to handle that.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/i386/cpu.c
arch/x86/include/asm/u-boot-x86.h