]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: dts: Define a default TSC timer frequency
authorBin Meng <bmeng.cn@gmail.com>
Wed, 28 Jul 2021 04:00:23 +0000 (12:00 +0800)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 2 Aug 2021 07:11:40 +0000 (15:11 +0800)
commitc79cbb5952068d9f05e4bcc7bdbbc8957fe35c68
tree3a15b63c5a64bbc754b58eb7be0b9d2ebc842023
parent5824bc6d6fe5f63aa1fb9acbe5ad5aa28d77380f
x86: dts: Define a default TSC timer frequency

If for some reason, TSC timer frequency cannot be determined from
hardware, nor is it specified in the device tree, U-Boot will panic
resulting in endless reset during boot.

Let's define a default TSC timer frequency using the Kconfig value
CONFIG_X86_TSC_TIMER_FREQ (note: #include must be used instead of
/include/ otherwise the macro is not pre-processed).

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
20 files changed:
arch/x86/dts/bayleybay.dts
arch/x86/dts/baytrail_som-db5800-som-6867.dts
arch/x86/dts/cherryhill.dts
arch/x86/dts/chromebook_coral.dts
arch/x86/dts/chromebook_link.dts
arch/x86/dts/chromebook_samus.dts
arch/x86/dts/chromebox_panther.dts
arch/x86/dts/conga-qeval20-qa3-e3845.dts
arch/x86/dts/coreboot.dts
arch/x86/dts/cougarcanyon2.dts
arch/x86/dts/crownbay.dts
arch/x86/dts/edison.dts
arch/x86/dts/efi-x86_app.dts
arch/x86/dts/efi-x86_payload.dts
arch/x86/dts/galileo.dts
arch/x86/dts/minnowmax.dts
arch/x86/dts/qemu-x86_i440fx.dts
arch/x86/dts/qemu-x86_q35.dts
arch/x86/dts/slimbootloader.dts
arch/x86/dts/tsc_timer.dtsi