]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
i.MX25: This architecture has a GPIO4 too
authorTimo Ketola <timo@exertus.fi>
Wed, 18 Apr 2012 22:55:29 +0000 (22:55 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 15 May 2012 06:31:33 +0000 (08:31 +0200)
Signed-off-by: Timo Ketola <timo@exertus.fi>
Acked-by: Stefano Babic <sbabic@denx.de>
drivers/gpio/mxc_gpio.c

index f1b1c16b1b9356409f57b2295742cb91d8f24022..661553552e6875d40cad956a82bcef9ac7057b57 100644 (file)
@@ -41,7 +41,8 @@ static unsigned long gpio_ports[] = {
        [0] = GPIO1_BASE_ADDR,
        [1] = GPIO2_BASE_ADDR,
        [2] = GPIO3_BASE_ADDR,
-#if defined(CONFIG_MX51) || defined(CONFIG_MX53) || defined(CONFIG_MX6Q)
+#if defined(CONFIG_MX25) || defined(CONFIG_MX51) || defined(CONFIG_MX53) || \
+               defined(CONFIG_MX6Q)
        [3] = GPIO4_BASE_ADDR,
 #endif
 #if defined(CONFIG_MX53) || defined(CONFIG_MX6Q)