]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/asm-arm/arch-mx25/gpio.h
applied patches from Freescale and Ka-Ro
[karo-tx-uboot.git] / include / asm-arm / arch-mx25 / gpio.h
1 /*
2  * Copyright 2009 Freescale Semiconductor, Inc. All Rights Reserved.
3  */
4
5 /*
6  * The code contained herein is licensed under the GNU General Public
7  * License. You may obtain a copy of the GNU General Public License
8  * Version 2 or later at the following locations:
9  *
10  * http://www.opensource.org/licenses/gpl-license.html
11  * http://www.gnu.org/copyleft/gpl.html
12  */
13 #ifndef __MACH_MX25_GPIO_H__
14 #define __MACH_MX25_GPIO_H__
15
16 #include <asm/arch/mx25.h>
17
18 static void _set_gpio_direction(u32 port, u32 index, int is_input);
19
20 void mxc_set_gpio_direction(iomux_pin_name_t pin, int is_input);
21
22 static void _set_gpio_dataout(u32 port, u32 index, u32 data);
23
24 void mxc_set_gpio_dataout(iomux_pin_name_t pin, u32 data);
25
26 /*!
27  * @file mach-mx25/gpio.h
28  *
29  * @brief Simple GPIO definitions and functions
30  *
31  * @ingroup GPIO_MX25
32  */
33 #endif