summaryrefslogtreecommitdiffstats
path: root/include/configs
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2010-07-06 17:05:06 +0200
committerStefano Babic <sbabic@denx.de>2010-09-29 11:24:30 +0200
commitc4ea142424fc5cb43a2db750cb772e84304e5fb8 (patch)
treebc6abb5343579120ee5680c46cd927d82064b1e5 /include/configs
parent2e6e1772c0e34871769be4aef79748fe3e47d953 (diff)
downloadbootable_bootloader_goldelico_gta04-c4ea142424fc5cb43a2db750cb772e84304e5fb8.zip
bootable_bootloader_goldelico_gta04-c4ea142424fc5cb43a2db750cb772e84304e5fb8.tar.gz
bootable_bootloader_goldelico_gta04-c4ea142424fc5cb43a2db750cb772e84304e5fb8.tar.bz2
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 <sbabic@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/imx31_phycore.h2
-rw-r--r--include/configs/qong.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/imx31_phycore.h b/include/configs/imx31_phycore.h
index 1dbafa0..62944a9 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 7a68b7b..7cd9558 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