]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
x86: quark: Bypass TSC calibration
authorBin Meng <bmeng.cn@gmail.com>
Thu, 5 Feb 2015 15:42:21 +0000 (23:42 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 10:59:11 +0000 (12:59 +0200)
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>
arch/x86/cpu/quark/Kconfig

index 163caac6608ce04f873a9f7c54c30418ee62eb3b..bc961ef07cfb4cfd39a01f0ff2a012ca12921cb4 100644 (file)
@@ -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