]> git.sur5r.net Git - u-boot/blob - arch/powerpc/include/asm/arch-mpc85xx/gpio.h
Merge git://git.denx.de/u-boot-rockchip
[u-boot] / arch / powerpc / include / asm / arch-mpc85xx / gpio.h
1 /*
2  * Copyright 2014 Freescale Semiconductor, Inc.
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 /*
8  * Dummy header file to enable CONFIG_OF_CONTROL.
9  * If CONFIG_OF_CONTROL is enabled, lib/fdtdec.c is compiled.
10  * It includes <asm/arch/gpio.h> via <asm/gpio.h>, so those SoCs that enable
11  * OF_CONTROL must have arch/gpio.h.
12  */
13
14 #ifndef __ASM_ARCH_MX85XX_GPIO_H
15 #define __ASM_ARCH_MX85XX_GPIO_H
16
17 #ifndef CONFIG_MPC85XX_GPIO
18 #include <asm/mpc85xx_gpio.h>
19 #endif
20
21 struct mpc8xxx_gpio_plat {
22         ulong addr;
23         unsigned long size;
24         uint ngpios;
25 };
26
27 #endif