Ruchika Gupta | 1ef97e7 | 2014-12-10 11:52:50 +0530 | [diff] [blame] | 1 | /* |
Ruchika Gupta | 9c078c3 | 2015-07-27 09:07:39 +0530 | [diff] [blame] | 2 | * Copyright 2014 Freescale Semiconductor, Inc. |
| 3 | * |
Ruchika Gupta | 1ef97e7 | 2014-12-10 11:52:50 +0530 | [diff] [blame] | 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 | |
mario.six@gdsys.cc | 5b59a35 | 2016-05-25 15:15:20 +0200 | [diff] [blame] | 17 | #ifndef CONFIG_MPC85XX_GPIO |
Oleksandr G Zhadan | 2d24af1 | 2015-04-28 13:59:50 -0400 | [diff] [blame] | 18 | #include <asm/mpc85xx_gpio.h> |
mario.six@gdsys.cc | 5b59a35 | 2016-05-25 15:15:20 +0200 | [diff] [blame] | 19 | #endif |
Oleksandr G Zhadan | 2d24af1 | 2015-04-28 13:59:50 -0400 | [diff] [blame] | 20 | |
Hamish Martin | 47ca9fc | 2016-06-14 10:17:05 +1200 | [diff] [blame^] | 21 | struct mpc85xx_gpio_plat { |
| 22 | ulong addr; |
| 23 | unsigned long size; |
| 24 | uint ngpios; |
| 25 | }; |
| 26 | |
Ruchika Gupta | 1ef97e7 | 2014-12-10 11:52:50 +0530 | [diff] [blame] | 27 | #endif |