diff options
| author | Stefano Babic <[email protected]> | 2010-07-06 17:05:06 +0200 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2010-09-29 11:24:30 +0200 |
| commit | c4ea142424fc5cb43a2db750cb772e84304e5fb8 (patch) | |
| tree | bc6abb5343579120ee5680c46cd927d82064b1e5 /include/configs | |
| parent | 2e6e1772c0e34871769be4aef79748fe3e47d953 (diff) | |
Use common function to set GPIOs for MX3 and MX5
The patch adds support for setting gpios to the
MX51 processor and change name to the corresponding
functions for MX31. In this way, it is possible to get rid
of nasty #ifdef switches related to the processor type.
Signed-off-by: Stefano Babic <[email protected]>
Diffstat (limited to 'include/configs')
| -rw-r--r-- | include/configs/imx31_phycore.h | 2 | ||||
| -rw-r--r-- | include/configs/qong.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/imx31_phycore.h b/include/configs/imx31_phycore.h index 1dbafa0521c..62944a93f6e 100644 --- a/include/configs/imx31_phycore.h +++ b/include/configs/imx31_phycore.h @@ -183,7 +183,7 @@ #ifdef CONFIG_IMX31_PHYCORE_EET #define BOARD_LATE_INIT -#define CONFIG_MX31_GPIO 1 +#define CONFIG_MXC_GPIO #define CONFIG_HARD_SPI 1 #define CONFIG_MXC_SPI 1 diff --git a/include/configs/qong.h b/include/configs/qong.h index 7a68b7b97ea..7cd955826df 100644 --- a/include/configs/qong.h +++ b/include/configs/qong.h @@ -52,7 +52,7 @@ #define CONFIG_MXC_UART 1 #define CONFIG_SYS_MX31_UART1 1 -#define CONFIG_MX31_GPIO +#define CONFIG_MXC_GPIO #define CONFIG_MXC_SPI #define CONFIG_DEFAULT_SPI_BUS 1 |
