[U-Boot] [PATCH v8 1/2] gpio: at91_gpio: remove CPU_HAS_PIO3 macro

Simon Glass sjg at chromium.org
Sat Apr 1 04:21:20 UTC 2017


On 22 March 2017 at 22:44, Wenyou Yang <wenyou.yang at atmel.com> wrote:
> 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 at atmel.com>
> ---
>
> Changes in v8: None
> Changes in v7:
>  - Fix the missing conversion for the at91_emac driver when building
>    the at91rm9200 devices.
>
> Changes in v6:
>  - Move PIO_SCDR_DIV define from mach/<soc.h> to mach/at91_pio.h
>    to fix the build error.
>
> Changes in v5: None
> 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         |  63 ++++----
>  arch/arm/mach-at91/include/mach/at91sam9x5.h       |   2 -
>  arch/arm/mach-at91/include/mach/sama5d3.h          |   2 -
>  arch/arm/mach-at91/include/mach/sama5d4.h          |   2 -
>  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 ++++++++++------
>  drivers/net/at91_emac.c                            |   4 +-
>  16 files changed, 660 insertions(+), 609 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list