mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-30 19:48:19 +00:00 
			
		
		
		
	Use this new Kconfig to simplify the compilation conditions where appropriate. Signed-off-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			17 lines
		
	
	
		
			293 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			293 B
		
	
	
	
		
			C
		
	
	
	
	
	
| // SPDX-License-Identifier: GPL-2.0+
 | |
| /*
 | |
|  * Copyright (c) 2015 Google, Inc
 | |
|  * Written by Simon Glass <sjg@chromium.org>
 | |
|  */
 | |
| 
 | |
| #include <common.h>
 | |
| #include <dm.h>
 | |
| 
 | |
| UCLASS_DRIVER(lpc) = {
 | |
| 	.id		= UCLASS_LPC,
 | |
| 	.name		= "lpc",
 | |
| #if CONFIG_IS_ENABLED(OF_REAL)
 | |
| 	.post_bind	= dm_scan_fdt_dev,
 | |
| #endif
 | |
| };
 |