BACKPORT: haswell: use tsc for udelay()
authorAaron Durbin <adurbin@chromium.org>
Wed, 1 May 2013 20:39:28 +0000 (15:39 -0500)
committerChromeBot <chrome-bot@google.com>
Wed, 8 May 2013 18:19:04 +0000 (11:19 -0700)
commit60a09eac23c1d7edc8ef76fec13b608a32d019b8
tree4d2ac34ff69a4132a127453e2ce376b64b51f12b
parentbb9b27d4cd33dbc26ac8d11f50dd567c4b8a5553
BACKPORT: haswell: use tsc for udelay()

Instead of using the local apic timer for udelay() use the tsc.
That way SMM, romstage, and ramstage all use the same delay
functionality.

BUG=None
BRANCH=None
TEST=Compiled and booted

Change-Id: Iac35eb02b424b54e490b4fdaa2fc74f35066db27
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/50452
Reviewed-by: Stefan Reinauer <reinauer@google.com>
src/cpu/intel/haswell/Kconfig
src/cpu/intel/haswell/Makefile.inc
src/cpu/intel/haswell/tsc_freq.c [new file with mode: 0644]
src/northbridge/intel/haswell/Makefile.inc
src/northbridge/intel/haswell/udelay.c [deleted file]