[PATCH 1/2] x86: tsc: Rename X86_TSC_TIMER_EARLY_FREQ to X86_TSC_TIMER_FREQ

Bin Meng bmeng.cn at gmail.com
Sat Jul 31 03:59:43 CEST 2021


On Sat, Jul 31, 2021 at 9:35 AM Simon Glass <sjg at chromium.org> wrote:
>
> On Tue, 27 Jul 2021 at 22:00, Bin Meng <bmeng.cn at gmail.com> wrote:
> >
> > Currently there are two places to specify the x86 TSC timer frequency
> > with one in Kconfig used for early timer and the other one in device
> > tree used when the frequency cannot be determined from hardware.
> >
> > This may potentially create an inconsistent config where the 2 values
> > do not match. Let's use the one specified in Kconfig in the device
> > tree as well.
> >
> > Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> > ---
> >
> >  arch/x86/cpu/quark/Kconfig | 4 ++--
> >  arch/x86/dts/galileo.dts   | 2 +-
> >  drivers/timer/Kconfig      | 8 ++++----
> >  drivers/timer/tsc_timer.c  | 5 +++--
> >  4 files changed, 10 insertions(+), 9 deletions(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list