From: Bin Meng Date: Tue, 3 Feb 2015 19:45:20 +0800 Subject: [U-Boot] [RFC PATCH 2/9] x86: quark: Bypass TSC calibration In-Reply-To: <1422963927-32421-1-git-send-email-bmeng.cn@gmail.com> References: <1422963927-32421-1-git-send-email-bmeng.cn@gmail.com> Message-ID: <1422963927-32421-3-git-send-email-bmeng.cn@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- arch/x86/cpu/quark/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/x86/cpu/quark/Kconfig b/arch/x86/cpu/quark/Kconfig index 163caac..bc961ef 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 -- 1.8.2.1