[U-Boot] [PATCH 11/12] x86: quark: Specify X86_TSC_TIMER_EARLY_FREQ

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Oct 13 16:49:54 UTC 2018


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 at 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 at 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
> 



More information about the U-Boot mailing list