summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/x86_64/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/cpu/x86_64/cpu.c')
-rw-r--r--arch/x86/cpu/x86_64/cpu.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/cpu/x86_64/cpu.c b/arch/x86/cpu/x86_64/cpu.c
index 80eab710315..71bc07f872a 100644
--- a/arch/x86/cpu/x86_64/cpu.c
+++ b/arch/x86/cpu/x86_64/cpu.c
@@ -75,3 +75,9 @@ void board_debug_uart_init(void)
/* this was already done in SPL */
}
#endif
+
+void x86_get_identity_for_timer(void)
+{
+ /* set the vendor to Intel so that native_calibrate_tsc() works */
+ gd->arch.x86_vendor = X86_VENDOR_INTEL;
+}