x86: tsc: Rename X86_TSC_TIMER_EARLY_FREQ to X86_TSC_TIMER_FREQ
authorBin Meng <bmeng.cn@gmail.com>
Wed, 28 Jul 2021 04:00:22 +0000 (12:00 +0800)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 2 Aug 2021 07:11:40 +0000 (15:11 +0800)
commit5824bc6d6fe5f63aa1fb9acbe5ad5aa28d77380f
tree6487147d95901121d9caa2391759fc654cf0061a
parentffaa7abfc5e930448a3aadb17e5eb00cabb37b9d
x86: tsc: Rename X86_TSC_TIMER_EARLY_FREQ to X86_TSC_TIMER_FREQ

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@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/quark/Kconfig
arch/x86/dts/galileo.dts
drivers/timer/Kconfig
drivers/timer/tsc_timer.c