[U-Boot] [PATCH v4 1/2] gpio: at91_gpio: Remove CPU_HAS_PIO3 macro
Simon Glass
sjg at chromium.org
Mon Feb 6 15:32:25 UTC 2017
On 23 January 2017 at 23:05, Wenyou Yang <wenyou.yang at atmel.com> wrote:
> The intention of this patch is the preparation to introduce
> the pinctrl driver for AT91 PIO.
>
> Use "union" to make the PIO3 and PIO2's registers be together
> and make their offset aligned.
>
> Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
> ---
>
> Changes in v4:
> - Fix the incomplete conversion of the peripheral configurations on
> the sama5d3, sam9x5, and sam9n12.
>
> Changes in v3: None
> Changes in v2: None
>
> arch/arm/mach-at91/arm926ejs/at91sam9n12_devices.c | 106 ++++++------
> arch/arm/mach-at91/arm926ejs/at91sam9x5_devices.c | 112 ++++++-------
> arch/arm/mach-at91/armv7/sama5d3_devices.c | 140 ++++++++--------
> arch/arm/mach-at91/include/mach/at91_pio.h | 61 +++----
> arch/arm/mach-at91/include/mach/at91sam9x5.h | 1 -
> arch/arm/mach-at91/include/mach/sama5d3.h | 1 -
> arch/arm/mach-at91/include/mach/sama5d4.h | 1 -
> board/atmel/at91sam9n12ek/at91sam9n12ek.c | 10 +-
> board/atmel/at91sam9x5ek/at91sam9x5ek.c | 90 +++++------
> board/atmel/sama5d3xek/sama5d3xek.c | 64 ++++----
> board/atmel/sama5d4_xplained/sama5d4_xplained.c | 148 ++++++++---------
> board/atmel/sama5d4ek/sama5d4ek.c | 136 ++++++++--------
> board/denx/ma5d4evk/ma5d4evk.c | 178 ++++++++++-----------
> board/l+g/vinco/vinco.c | 70 ++++----
> drivers/gpio/at91_gpio.c | 142 ++++++++++------
> 15 files changed, 656 insertions(+), 604 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list