]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Ensure the CPU identity exists for timer init
authorSimon Glass <sjg@chromium.org>
Wed, 28 Aug 2024 01:44:25 +0000 (19:44 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 18 Oct 2024 20:10:21 +0000 (14:10 -0600)
commit3b2e4f542e3ea5d116d5830f4eef9be97d872312
tree67c7f6ee2d38f7ecfe80ddf6cff9c89a151c4135
parent6ab545ba21668132d9dad27026c91d298b6e5a77
x86: Ensure the CPU identity exists for timer init

When bootstage is used the timer can be inited before the CPU identity
is set up, resulting in the checks for the vendor not working.

Add a special call to work around this.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/i386/cpu.c
arch/x86/cpu/x86_64/cpu.c
arch/x86/include/asm/u-boot-x86.h
drivers/timer/tsc_timer.c