x86: coreboot: Add default TSC frequency in the device tree
authorBin Meng <bmeng.cn@gmail.com>
Fri, 10 Aug 2018 09:39:37 +0000 (02:39 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 20 Aug 2018 05:52:49 +0000 (13:52 +0800)
It was observed sometimes U-Boot as the coreboot payload fails to
boot on QEMU. This is because TSC calibration fails with no valid
frequency. This adds default TSC frequency in the device tree.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
arch/x86/dts/coreboot.dts

index a94f781..e212f3d 100644 (file)
                stdout-path = "/serial";
        };
 
+       tsc-timer {
+               clock-frequency = <1000000000>;
+       };
+
        pci {
                compatible = "pci-x86";
                u-boot,dm-pre-reloc;