mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-10-31 16:31:25 +01:00 
			
		
		
		
	It was observed sometimes U-Boot as the EFI 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: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			46 lines
		
	
	
		
			650 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			650 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0+
 | |
| /*
 | |
|  * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
 | |
|  *
 | |
|  * Generic EFI payload device tree for x86 targets
 | |
|  */
 | |
| 
 | |
| /dts-v1/;
 | |
| 
 | |
| /include/ "skeleton.dtsi"
 | |
| /include/ "serial.dtsi"
 | |
| /include/ "keyboard.dtsi"
 | |
| /include/ "reset.dtsi"
 | |
| /include/ "rtc.dtsi"
 | |
| /include/ "tsc_timer.dtsi"
 | |
| 
 | |
| / {
 | |
| 	model = "EFI x86 Payload";
 | |
| 	compatible = "efi,x86-payload";
 | |
| 
 | |
| 	aliases {
 | |
| 		serial0 = &serial;
 | |
| 	};
 | |
| 
 | |
| 	config {
 | |
| 		silent_console = <0>;
 | |
| 	};
 | |
| 
 | |
| 	chosen {
 | |
| 		stdout-path = "/serial";
 | |
| 	};
 | |
| 
 | |
| 	tsc-timer {
 | |
| 		clock-frequency = <1000000000>;
 | |
| 	};
 | |
| 
 | |
| 	pci {
 | |
| 		compatible = "pci-x86";
 | |
| 		u-boot,dm-pre-reloc;
 | |
| 	};
 | |
| 
 | |
| 	efi-fb {
 | |
| 		compatible = "efi-fb";
 | |
| 	};
 | |
| };
 |