From: Jason Liu Date: Fri, 25 Nov 2011 00:18:03 +0000 (+0000) Subject: i.mx: mxc_gpio: add the i.mx6q support X-Git-Tag: v2011.12-rc1~28^2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c8bfe24fec5aaf87d095efbf8d07f485a486913f;p=u-boot i.mx: mxc_gpio: add the i.mx6q support Signed-off-by: Jason Liu Cc: Stefano Babic Acked-by: Stefano Babic --- diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c index a7f36b2933..908808d50e 100644 --- a/drivers/gpio/mxc_gpio.c +++ b/drivers/gpio/mxc_gpio.c @@ -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,