summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-04-13 09:39:35 +0800
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-09 14:42:30 +0100
commit4866d185ec34ea5982492a6441a0df9b4d8e62cb (patch)
tree6376133f4a4f6e835ae5c4aa6d8a6c37427900aa /drivers
parenteb0f1486497f19360281eda110e8cca7050f9a98 (diff)
MLK-10812-4 mxc:gpio Add MX6UL support
comment out GPIO6/7 for MX6UL Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpio/mxc_gpio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c
index 12f0e6c42d..1cf10c3f15 100644
--- a/drivers/gpio/mxc_gpio.c
+++ b/drivers/gpio/mxc_gpio.c
@@ -52,11 +52,15 @@ static unsigned long gpio_ports[] = {
#if defined(CONFIG_MX27) || defined(CONFIG_MX53) || defined(CONFIG_MX6) || \
defined(CONFIG_MX7)
[4] = GPIO5_BASE_ADDR,
+#if !defined(CONFIG_MX6UL)
[5] = GPIO6_BASE_ADDR,
#endif
+#endif
#if defined(CONFIG_MX53) || defined(CONFIG_MX6) || defined(CONFIG_MX7)
+#if !defined(CONFIG_MX6UL)
[6] = GPIO7_BASE_ADDR,
#endif
+#endif
};
#ifdef CONFIG_MXC_RDC