mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-10-31 16:31:25 +01:00 
			
		
		
		
	Use this new Kconfig to simplify the compilation conditions where appropriate. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			16 lines
		
	
	
		
			332 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			332 B
		
	
	
	
		
			C
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0+
 | |
| 
 | |
| #define LOG_CATEGORY UCLASS_FIRMWARE
 | |
| 
 | |
| #include <common.h>
 | |
| #include <dm.h>
 | |
| 
 | |
| /* Firmware access is platform-dependent.  No generic code in uclass */
 | |
| UCLASS_DRIVER(firmware) = {
 | |
| 	.id		= UCLASS_FIRMWARE,
 | |
| 	.name		= "firmware",
 | |
| #if CONFIG_IS_ENABLED(OF_REAL)
 | |
| 	.post_bind	= dm_scan_fdt_dev,
 | |
| #endif
 | |
| };
 |