mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	Create a sysinfo driver to avoid needing a custom checkboard() function. With this the following information is printed when booting from coreboot under QEMU: Model: Standard PC (i440FX + PIIX, 1996) Manufacturer: QEMU Prior-stage version: 4.21-885-g2a87ef1eca56 Prior-stage date: 11/11/2023 Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			53 lines
		
	
	
		
			755 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			53 lines
		
	
	
		
			755 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
// SPDX-License-Identifier: GPL-2.0+
 | 
						|
/*
 | 
						|
 * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
 | 
						|
 *
 | 
						|
 * Generic coreboot payload device tree for x86 targets
 | 
						|
 */
 | 
						|
 | 
						|
/dts-v1/;
 | 
						|
 | 
						|
/include/ "skeleton.dtsi"
 | 
						|
/include/ "keyboard.dtsi"
 | 
						|
/include/ "pcspkr.dtsi"
 | 
						|
/include/ "reset.dtsi"
 | 
						|
/include/ "rtc.dtsi"
 | 
						|
 | 
						|
#include "tsc_timer.dtsi"
 | 
						|
 | 
						|
/ {
 | 
						|
	model = "coreboot x86 payload";
 | 
						|
	compatible = "coreboot,x86-payload";
 | 
						|
 | 
						|
	aliases {
 | 
						|
		serial0 = &serial;
 | 
						|
	};
 | 
						|
 | 
						|
	config {
 | 
						|
		silent_console = <0>;
 | 
						|
	};
 | 
						|
 | 
						|
	chosen {
 | 
						|
		stdout-path = "/serial";
 | 
						|
	};
 | 
						|
 | 
						|
	pci {
 | 
						|
		compatible = "pci-x86";
 | 
						|
		bootph-all;
 | 
						|
	};
 | 
						|
 | 
						|
	serial: serial {
 | 
						|
		bootph-all;
 | 
						|
		compatible = "coreboot-serial";
 | 
						|
	};
 | 
						|
 | 
						|
	coreboot-fb {
 | 
						|
		bootph-some-ram;
 | 
						|
		compatible = "coreboot-fb";
 | 
						|
	};
 | 
						|
 | 
						|
	sysinfo {
 | 
						|
		compatible = "coreboot,sysinfo";
 | 
						|
	};
 | 
						|
};
 |