Message ID | 1539443214-19048-12-git-send-email-bmeng.cn@gmail.com |
---|---|
State | Superseded |
Delegated to: | Bin Meng |
Headers | show |
Series | x86: Attempt to bring qemu-x86_64 target in travis-ci build/testing | expand |
On 10/13/2018 05:06 PM, Bin Meng 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> The Intel Quark CPU runs at 400 MHz. If you follow my suggestion for patch 10 to set the parameter in MHz instead of Hz, please adjust the value to 400 here. Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> > --- > > arch/x86/cpu/quark/Kconfig | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/x86/cpu/quark/Kconfig b/arch/x86/cpu/quark/Kconfig > index 76f1592..2d667ca 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 400000000 > + > endif >
diff --git a/arch/x86/cpu/quark/Kconfig b/arch/x86/cpu/quark/Kconfig index 76f1592..2d667ca 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 400000000 + endif
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> --- arch/x86/cpu/quark/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)