diff options
author | Michael van der Westhuizen <rmikey@fb.com> | 2018-09-05 10:26:44 -0700 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2018-09-06 16:31:10 +0000 |
commit | 401f8c59bd955d9b435ebab06fa1a3d0dd138765 (patch) | |
tree | 6b24210bdfc87b9a6bccc0caf5bb0bf7110cf9ff /src | |
parent | 1c8f699758cab20ef839a3fe023fb7bd6373eebc (diff) |
qemu-q35: Use the TSC for udelay
Use the TSC for delays on q35, ensuring that the TSC delay code is
included in the correct stages when selected.
Tested on qemu-35 and wedge-100s (for no regressions).
Change-Id: I3f8368509807974bfcf2a0fcff7a4aa21adf47ed
Signed-off-by: Michael van der Westhuizen <rmikey@fb.com>
Reviewed-on: https://review.coreboot.org/28526
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/qemu-x86/Kconfig | 1 | ||||
-rw-r--r-- | src/cpu/qemu-x86/Makefile.inc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/qemu-x86/Kconfig b/src/cpu/qemu-x86/Kconfig index ea2bc46051..ab8e1a9919 100644 --- a/src/cpu/qemu-x86/Kconfig +++ b/src/cpu/qemu-x86/Kconfig @@ -20,3 +20,4 @@ config CPU_QEMU_X86 select ARCH_ROMSTAGE_X86_32 select ARCH_RAMSTAGE_X86_32 select SMP + select UDELAY_TSC diff --git a/src/cpu/qemu-x86/Makefile.inc b/src/cpu/qemu-x86/Makefile.inc index b5f8369181..288eea67f5 100644 --- a/src/cpu/qemu-x86/Makefile.inc +++ b/src/cpu/qemu-x86/Makefile.inc @@ -16,3 +16,4 @@ ramstage-y += qemu.c subdirs-y += ../x86/mtrr subdirs-y += ../x86/lapic subdirs-y += ../x86/smm +subdirs-y += ../x86/tsc |