diff options
author | Steven Miao <realmz6@gmail.com> | 2013-10-23 14:44:09 +0800 |
---|---|---|
committer | Sonic Zhang <sonic.zhang@analog.com> | 2013-11-04 16:50:46 +0800 |
commit | cae4d0403c0863176f228d410d6a29b3f4b9d595 (patch) | |
tree | dee074ffc6a5e9d7817990ff333ce7b9191d454c /drivers/gpio | |
parent | 84682854b61008ffa0757fb33551320e94d49881 (diff) | |
download | u-boot-imx-cae4d0403c0863176f228d410d6a29b3f4b9d595.zip u-boot-imx-cae4d0403c0863176f228d410d6a29b3f4b9d595.tar.gz u-boot-imx-cae4d0403c0863176f228d410d6a29b3f4b9d595.tar.bz2 |
blackfin: Move machine specific gpio_port_t structure back to blackfin arch folder.
The gpio register mappings are different among blackfin processors.
Signed-off-by: Steven Miao <realmz6@gmail.com>
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/adi_gpio2.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/gpio/adi_gpio2.c b/drivers/gpio/adi_gpio2.c index 051073c..88cd65b 100644 --- a/drivers/gpio/adi_gpio2.c +++ b/drivers/gpio/adi_gpio2.c @@ -10,22 +10,6 @@ #include <common.h> #include <asm/errno.h> #include <asm/gpio.h> -#include <asm/portmux.h> - -static 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 -}; #define RESOURCE_LABEL_SIZE 16 @@ -98,7 +82,6 @@ static void port_setup(unsigned gpio, unsigned short usage) else gpio_array[gpio_bank(gpio)]->port_fer_set = gpio_bit(gpio); #endif - SSYNC(); } inline void portmux_setup(unsigned short per) |