projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63ee568
)
mxc: gpio add i.MX6UL support
author
Peng Fan
<Peng.Fan@freescale.com>
Mon, 20 Jul 2015 11:28:31 +0000
(19:28 +0800)
committer
Stefano Babic
<sbabic@denx.de>
Sun, 2 Aug 2015 09:05:08 +0000
(11:05 +0200)
i.MX6UL does not have GPIO6/7, so do not include them for i.MX6UL.
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
drivers/gpio/mxc_gpio.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/mxc_gpio.c
b/drivers/gpio/mxc_gpio.c
index 2012f994c8cda7dda9ffc7d4d64cd6c3d536df97..57a650f75074af3a575ecbfe61e33b221ee0b955 100644
(file)
--- a/
drivers/gpio/mxc_gpio.c
+++ b/
drivers/gpio/mxc_gpio.c
@@
-45,11
+45,15
@@
static unsigned long gpio_ports[] = {
#endif
#if defined(CONFIG_MX27) || defined(CONFIG_MX53) || defined(CONFIG_MX6)
[4] = GPIO5_BASE_ADDR,
+#ifndef CONFIG_MX6UL
[5] = GPIO6_BASE_ADDR,
#endif
+#endif
#if defined(CONFIG_MX53) || defined(CONFIG_MX6)
+#ifndef CONFIG_MX6UL
[6] = GPIO7_BASE_ADDR,
#endif
+#endif
};
static int mxc_gpio_direction(unsigned int gpio,