]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
i.mx: mxc_gpio: add the i.mx6q support
authorJason Liu <jason.hui@linaro.org>
Fri, 25 Nov 2011 00:18:03 +0000 (00:18 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 9 Dec 2011 16:30:10 +0000 (17:30 +0100)
Signed-off-by: Jason Liu <jason.hui@linaro.org>
Cc: Stefano Babic <sbabic@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>
drivers/gpio/mxc_gpio.c

index a7f36b2933938a3f374ff873c8379e0e8bd08c5d..908808d50e1a706f0e8d94628181fe30ebf76843 100644 (file)
@@ -40,10 +40,10 @@ static unsigned long gpio_ports[] = {
        [0] = GPIO1_BASE_ADDR,
        [1] = GPIO2_BASE_ADDR,
        [2] = GPIO3_BASE_ADDR,
-#if defined(CONFIG_MX51) || defined(CONFIG_MX53)
+#if defined(CONFIG_MX51) || defined(CONFIG_MX53) || defined(CONFIG_MX6Q)
        [3] = GPIO4_BASE_ADDR,
 #endif
-#if defined(CONFIG_MX53)
+#if defined(CONFIG_MX53) || defined(CONFIG_MX6Q)
        [4] = GPIO5_BASE_ADDR,
        [5] = GPIO6_BASE_ADDR,
        [6] = GPIO7_BASE_ADDR,