]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Add a way to reinit the cpu
authorSimon Glass <sjg@chromium.org>
Fri, 26 Apr 2019 03:58:42 +0000 (21:58 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 8 May 2019 05:02:11 +0000 (13:02 +0800)
commitc0069e9a8a033a359a202e6252da228edab9b5af
tree62821d1267bcf4f496c2935e9670e9e27eddecff
parent7b140238800533b334a160bf94c2901c98bc1550
x86: Add a way to reinit the cpu

We cannot init the CPU fully both than once during a boot. Add a new
function which can be called to figure out the CPU identity, but which
does not change anything. For x86_64, this is empty for now.

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