mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 12:08:19 +00:00 
			
		
		
		
	Add a file containing defaults for these, using the existing CONFIG options. This file must be included with #include since it needs to be passed through the C preprocessor. Enable the driver for all x86 boards that generate SMBIOS tables. Disable it for coral since it has its own driver. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> [bmeng: reword the commit message a little bit] Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
		
			
				
	
	
		
			33 lines
		
	
	
		
			569 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			569 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0+
 | |
| /*
 | |
|  * Default SMBIOS information. Include this in your board .dts file if you want
 | |
|  * these defaults.
 | |
|  *
 | |
|  * Copyright 2020 Google LLC
 | |
|  */
 | |
| 
 | |
| #include <config.h>
 | |
| 
 | |
| / {
 | |
| 	smbios: smbios {
 | |
| 		compatible = "u-boot,sysinfo-smbios";
 | |
| 
 | |
| 		smbios {
 | |
| 			system {
 | |
| 				manufacturer = CONFIG_SYS_VENDOR;
 | |
| 				product = CONFIG_SYS_BOARD;
 | |
| 			};
 | |
| 
 | |
| 			baseboard {
 | |
| 				manufacturer = CONFIG_SYS_VENDOR;
 | |
| 				product = CONFIG_SYS_BOARD;
 | |
| 			};
 | |
| 
 | |
| 			chassis {
 | |
| 				manufacturer = CONFIG_SYS_VENDOR;
 | |
| 				/* chassis product is not set by default */
 | |
| 			};
 | |
| 		};
 | |
| 	};
 | |
| };
 |