From c0069e9a8a033a359a202e6252da228edab9b5af Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 25 Apr 2019 21:58:42 -0600 Subject: 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 Reviewed-by: Bin Meng --- arch/x86/cpu/x86_64/cpu.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch/x86/cpu/x86_64/cpu.c') diff --git a/arch/x86/cpu/x86_64/cpu.c b/arch/x86/cpu/x86_64/cpu.c index 6c063e8200..42abb23a9e 100644 --- a/arch/x86/cpu/x86_64/cpu.c +++ b/arch/x86/cpu/x86_64/cpu.c @@ -61,3 +61,8 @@ int print_cpuinfo(void) { return 0; } + +int x86_cpu_reinit_f(void) +{ + return 0; +} -- cgit