mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	dev_read_addr_size_index() returns fdt_addr_t which might be a 64-bit physical address. This might be true for some 85xx SoCs whose CCSBAR is mapped beyond 4 GiB. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
		
			
				
	
	
		
			27 lines
		
	
	
		
			555 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			555 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0+ */
 | 
						|
/*
 | 
						|
 * Copyright 2014 Freescale Semiconductor, Inc.
 | 
						|
 */
 | 
						|
 | 
						|
/*
 | 
						|
 * 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
 | 
						|
 | 
						|
#ifndef CONFIG_MPC85XX_GPIO
 | 
						|
#include <asm/mpc85xx_gpio.h>
 | 
						|
#endif
 | 
						|
 | 
						|
struct mpc8xxx_gpio_plat {
 | 
						|
	phys_addr_t addr;
 | 
						|
	unsigned long size;
 | 
						|
	uint ngpios;
 | 
						|
};
 | 
						|
 | 
						|
#endif
 |