diff mbox series

[U-Boot,v2,11/14] x86: quark: Specify X86_TSC_TIMER_EARLY_FREQ

Message ID 1539489134-9847-12-git-send-email-bmeng.cn@gmail.com
State Accepted
Commit a39f0554f4e9742bf99b8d1c30c2085889c0988d
Delegated to: Bin Meng
Headers show
Series x86: Bring qemu-x86_64 target in travis-ci build/testing | expand

Commit Message

Bin Meng Oct. 14, 2018, 3:52 a.m. UTC
Specify X86_TSC_TIMER_EARLY_FREQ for Quark SoC so that TSC as
the early timer can be supported.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

---

Changes in v2:
- Change the config option value to 400 which indicates 400 MHz

 arch/x86/cpu/quark/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Simon Glass Oct. 19, 2018, 3:26 a.m. UTC | #1
On 13 October 2018 at 21:52, Bin Meng <bmeng.cn@gmail.com> wrote:
> Specify X86_TSC_TIMER_EARLY_FREQ for Quark SoC so that TSC as
> the early timer can be supported.
>
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
>
> ---
>
> Changes in v2:
> - Change the config option value to 400 which indicates 400 MHz
>
>  arch/x86/cpu/quark/Kconfig | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

diff --git a/arch/x86/cpu/quark/Kconfig b/arch/x86/cpu/quark/Kconfig
index 76f1592..3a18cb0 100644
--- a/arch/x86/cpu/quark/Kconfig
+++ b/arch/x86/cpu/quark/Kconfig
@@ -130,4 +130,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 X86_TSC_TIMER_EARLY_FREQ
+	int
+	default 400
+
 endif