blob: 76faa22c8b437012ce9bbd72fde83e3c686e5736 [file] [log] [blame]
Ruchika Gupta1ef97e72014-12-10 11:52:50 +05301/*
Ruchika Gupta9c078c32015-07-27 09:07:39 +05302 * Copyright 2014 Freescale Semiconductor, Inc.
3 *
Ruchika Gupta1ef97e72014-12-10 11:52:50 +05304 * 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.cc5b59a352016-05-25 15:15:20 +020017#ifndef CONFIG_MPC85XX_GPIO
Oleksandr G Zhadan2d24af12015-04-28 13:59:50 -040018#include <asm/mpc85xx_gpio.h>
mario.six@gdsys.cc5b59a352016-05-25 15:15:20 +020019#endif
Oleksandr G Zhadan2d24af12015-04-28 13:59:50 -040020
Hamish Martin47ca9fc2016-06-14 10:17:05 +120021struct mpc85xx_gpio_plat {
22 ulong addr;
23 unsigned long size;
24 uint ngpios;
25};
26
Ruchika Gupta1ef97e72014-12-10 11:52:50 +053027#endif