summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-02-05 23:42:21 +0800
committerSimon Glass <sjg@chromium.org>2015-02-06 12:07:42 -0700
commitea94532461e166f6febdd9bda5caa8f1b127b39f (patch)
tree151f5e1320e99ee859ca1a4ed91fa103ae3e6f3e /arch/x86
parentf56aeaa4accf541641e14343adfd4614dc4b67d0 (diff)
x86: quark: Bypass TSC calibration
For some unknown reason, the TSC calibration via PIT does not work on Quark. Enable bypassing TSC calibration and override TSC_FREQ_IN_MHZ to 400 per Quark datasheet in the Kconfig. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/cpu/quark/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/cpu/quark/Kconfig b/arch/x86/cpu/quark/Kconfig
index 163caac660..bc961ef07c 100644
--- a/arch/x86/cpu/quark/Kconfig
+++ b/arch/x86/cpu/quark/Kconfig
@@ -7,6 +7,7 @@
config INTEL_QUARK
bool
select HAVE_RMU
+ select TSC_CALIBRATION_BYPASS
if INTEL_QUARK
@@ -118,4 +119,8 @@ config SYS_CAR_SIZE
Space in bytes in eSRAM used as Cache-As-ARM (CAR).
Note this size must not exceed eSRAM's total size.
+config TSC_FREQ_IN_MHZ
+ int
+ default 400
+
endif