]> git.baikalelectronics.ru Git - uboot.git/commit
gpio: at91_gpio: remove CPU_HAS_PIO3 macro
authorWenyou Yang <wenyou.yang@atmel.com>
Thu, 23 Mar 2017 04:44:36 +0000 (12:44 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Apr 2017 20:44:50 +0000 (14:44 -0600)
commit348b3294251826ccd6f5c8dd6c4aaa616755200d
tree899bacd5e28eb86beb2b6d59a71274f902a58d8d
parentb9dc439f1e0c02e09f23379ebb0ed9dd32bae75f
gpio: at91_gpio: remove CPU_HAS_PIO3 macro

The intention of the removal is the preparation to introduce the
new AT91 PIO pinctrl driver.

Use the union to make the PIO3 and PIO2's registers be together
and make their offset aligned.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
16 files changed:
arch/arm/mach-at91/arm926ejs/at91sam9n12_devices.c
arch/arm/mach-at91/arm926ejs/at91sam9x5_devices.c
arch/arm/mach-at91/armv7/sama5d3_devices.c
arch/arm/mach-at91/include/mach/at91_pio.h
arch/arm/mach-at91/include/mach/at91sam9x5.h
arch/arm/mach-at91/include/mach/sama5d3.h
arch/arm/mach-at91/include/mach/sama5d4.h
board/atmel/at91sam9n12ek/at91sam9n12ek.c
board/atmel/at91sam9x5ek/at91sam9x5ek.c
board/atmel/sama5d3xek/sama5d3xek.c
board/atmel/sama5d4_xplained/sama5d4_xplained.c
board/atmel/sama5d4ek/sama5d4ek.c
board/denx/ma5d4evk/ma5d4evk.c
board/l+g/vinco/vinco.c
drivers/gpio/at91_gpio.c
drivers/net/at91_emac.c