]> git.baikalelectronics.ru Git - uboot.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)
commitf2995a96f08a4f2bf224ec118b31c9b0a88d0243
tree62821d1267bcf4f496c2935e9670e9e27eddecff
parent147a6456625e18f594b0ac6834a06ced39d09edb
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