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>
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
config INTEL_QUARK
|
config INTEL_QUARK
|
||||||
bool
|
bool
|
||||||
select HAVE_RMU
|
select HAVE_RMU
|
||||||
|
select TSC_CALIBRATION_BYPASS
|
||||||
|
|
||||||
if INTEL_QUARK
|
if INTEL_QUARK
|
||||||
|
|
||||||
@@ -118,4 +119,8 @@ config SYS_CAR_SIZE
|
|||||||
Space in bytes in eSRAM used as Cache-As-ARM (CAR).
|
Space in bytes in eSRAM used as Cache-As-ARM (CAR).
|
||||||
Note this size must not exceed eSRAM's total size.
|
Note this size must not exceed eSRAM's total size.
|
||||||
|
|
||||||
|
config TSC_FREQ_IN_MHZ
|
||||||
|
int
|
||||||
|
default 400
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
Reference in New Issue
Block a user