mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 12:08:19 +00:00 
			
		
		
		
	add one struct mpc8xxx_gpio_plat to enable gpio feature. Signed-off-by: hui.song <hui.song_1@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
		
			
				
	
	
		
			23 lines
		
	
	
		
			449 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			449 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ */
 | |
| /*
 | |
|  * Copyright 2020 NXP
 | |
|  */
 | |
| 
 | |
| /*
 | |
|  * Dummy header file to enable CONFIG_OF_CONTROL.
 | |
|  * If CONFIG_OF_CONTROL is enabled, lib/fdtdec.c is compiled.
 | |
|  * It includes <asm/arch/gpio.h> via <asm/gpio.h>, so those SoCs that enable
 | |
|  * OF_CONTROL must have arch/gpio.h.
 | |
|  */
 | |
| 
 | |
| #ifndef __ASM_ARCH_MX85XX_GPIO_H
 | |
| #define __ASM_ARCH_MX85XX_GPIO_H
 | |
| 
 | |
| struct mpc8xxx_gpio_plat {
 | |
| 	ulong addr;
 | |
| 	ulong size;
 | |
| 	uint ngpios;
 | |
| };
 | |
| 
 | |
| #endif
 |