diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-01-29 13:44:24 +0800 |
---|---|---|
committer | Frank Li <Frank.Li@freescale.com> | 2015-02-04 21:53:30 +0800 |
commit | 6e3f8dc68f1606cbbcdb4997fc0bdf1ac8a3f3b6 (patch) | |
tree | fce6acf8620866d50cab769ca0c68e9a61013eb5 /drivers | |
parent | 8d15f44ca0c2d694b87eb6ab6db5f27496924b4a (diff) | |
download | u-boot-imx-6e3f8dc68f1606cbbcdb4997fc0bdf1ac8a3f3b6.zip u-boot-imx-6e3f8dc68f1606cbbcdb4997fc0bdf1ac8a3f3b6.tar.gz u-boot-imx-6e3f8dc68f1606cbbcdb4997fc0bdf1ac8a3f3b6.tar.bz2 |
MLK-10178-1 gpio:mxc_gpio add i.MX7D support
Add CONFIG_MX7 for mxc gpio driver
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpio/mxc_gpio.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c index d804eb5..960a496 100644 --- a/drivers/gpio/mxc_gpio.c +++ b/drivers/gpio/mxc_gpio.c @@ -30,14 +30,16 @@ static unsigned long gpio_ports[] = { [1] = GPIO2_BASE_ADDR, [2] = GPIO3_BASE_ADDR, #if defined(CONFIG_MX25) || defined(CONFIG_MX27) || defined(CONFIG_MX51) || \ - defined(CONFIG_MX53) || defined(CONFIG_MX6) + defined(CONFIG_MX53) || defined(CONFIG_MX6) || \ + defined(CONFIG_MX7) [3] = GPIO4_BASE_ADDR, #endif -#if defined(CONFIG_MX27) || defined(CONFIG_MX53) || defined(CONFIG_MX6) +#if defined(CONFIG_MX27) || defined(CONFIG_MX53) || defined(CONFIG_MX6) || \ + defined(CONFIG_MX7) [4] = GPIO5_BASE_ADDR, [5] = GPIO6_BASE_ADDR, #endif -#if defined(CONFIG_MX53) || defined(CONFIG_MX6) +#if defined(CONFIG_MX53) || defined(CONFIG_MX6) || defined(CONFIG_MX7) [6] = GPIO7_BASE_ADDR, #endif }; |