]>
Commit | Line | Data |
---|---|---|
d67be7c9 | 1 | /* |
057c2200 RG |
2 | * Copyright 2014 Freescale Semiconductor, Inc. |
3 | * | |
d67be7c9 RG |
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 | ||
07d31f8f | 17 | #ifndef CONFIG_MPC85XX_GPIO |
d7732faa | 18 | #include <asm/mpc85xx_gpio.h> |
07d31f8f | 19 | #endif |
d7732faa | 20 | |
4b689f02 HM |
21 | struct mpc85xx_gpio_plat { |
22 | ulong addr; | |
23 | unsigned long size; | |
24 | uint ngpios; | |
25 | }; | |
26 | ||
d67be7c9 | 27 | #endif |