[PATCH 2/6] x86: Ensure the CPU identity exists for timer init

Simon Glass sjg at chromium.org
Fri Oct 18 01:12:17 CEST 2024


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 at chromium.org>
---

 arch/x86/cpu/i386/cpu.c           | 5 +++++
 arch/x86/cpu/x86_64/cpu.c         | 6 ++++++
 arch/x86/include/asm/u-boot-x86.h | 9 +++++++++
 drivers/timer/tsc_timer.c         | 4 ++++
 4 files changed, 24 insertions(+)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list