Explorar o código

x86: coreboot: Add default TSC frequency in the device tree

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>
Bin Meng %!s(int64=6) %!d(string=hai) anos
pai
achega
864915561b
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      arch/x86/dts/coreboot.dts

+ 4 - 0
arch/x86/dts/coreboot.dts

@@ -30,6 +30,10 @@
 		stdout-path = "/serial";
 	};
 
+	tsc-timer {
+		clock-frequency = <1000000000>;
+	};
+
 	pci {
 		compatible = "pci-x86";
 		u-boot,dm-pre-reloc;