diff options
author | Tom Rini <trini@ti.com> | 2013-11-04 09:28:08 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-11-04 09:28:08 -0500 |
commit | c0bb110b695130866838518e680bdd5473e47928 (patch) | |
tree | 590563a50a027ad53867b2144e763de02427db59 /arch/blackfin/cpu/gpio.c | |
parent | ae12c751e5532904090c23f079e4b59160caef52 (diff) | |
parent | cae4d0403c0863176f228d410d6a29b3f4b9d595 (diff) | |
download | u-boot-imx-c0bb110b695130866838518e680bdd5473e47928.zip u-boot-imx-c0bb110b695130866838518e680bdd5473e47928.tar.gz u-boot-imx-c0bb110b695130866838518e680bdd5473e47928.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
Easy to resolve conflict on the GPIO change.
Conflicts:
arch/blackfin/cpu/Makefile
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/blackfin/cpu/gpio.c')
-rw-r--r-- | arch/blackfin/cpu/gpio.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/blackfin/cpu/gpio.c b/arch/blackfin/cpu/gpio.c index f9aff4d..5e9c68a 100644 --- a/arch/blackfin/cpu/gpio.c +++ b/arch/blackfin/cpu/gpio.c @@ -12,6 +12,7 @@ #include <asm/gpio.h> #include <asm/portmux.h> +#ifdef CONFIG_ADI_GPIO1 #if ANOMALY_05000311 || ANOMALY_05000323 enum { AWA_data = SYSCR, @@ -774,3 +775,19 @@ void gpio_labels(void) continue; } } +#else +struct gpio_port_t * const gpio_array[] = { + (struct gpio_port_t *)PORTA_FER, + (struct gpio_port_t *)PORTB_FER, + (struct gpio_port_t *)PORTC_FER, + (struct gpio_port_t *)PORTD_FER, + (struct gpio_port_t *)PORTE_FER, + (struct gpio_port_t *)PORTF_FER, + (struct gpio_port_t *)PORTG_FER, +#if defined(CONFIG_BF54x) + (struct gpio_port_t *)PORTH_FER, + (struct gpio_port_t *)PORTI_FER, + (struct gpio_port_t *)PORTJ_FER, +#endif +}; +#endif |