[U-Boot] [PATCH 0/6] at91: get rid of long standing work around CONFIG_AT91_LEGACY

Andreas Bießmann andreas.devel at googlemail.com
Wed Oct 30 15:18:16 CET 2013


This series cleans up the CONFIG_AT91_LEGACY mess. It was introduced for
transition to C struct SoC peripheral access. The transision is almost done
but introduced another CONFIG_ATMEL_LEGACY define for some GPIO cleanup which
was never finished.
There are currently just two users of the CONFIG_AT91_LEGACY left, while they
doesn't need to define it cause in fact they just need the CONFIG_ATMEL_LEGACY
define.
Therefore remove first the not longer needed CONFIG_AT91_LEGACY define now and
in a second step also the CONFIG_ATMEL_LEGACY.

The CONFIG_ATMEL_LEGACY is mostly GPIO related. There is currently a dicussion
about new API for the at91 (g)pio accessors at in [1]. Please comment there.

[1] http://article.gmane.org/gmane.comp.boot-loaders.u-boot/172727


Andreas Bießmann (6):
  video: remove AT91 legacy API from bus_vcxk
  i2c: switch from AT91 legacy to ATMEL legacy
  at91sam9m10g45ek: remove unused CONFIG_AT91_LEGACY
  snapper9260: remove unused AT91_LEGACY
  net: remove unused CONFIG_AT91_LEGACY
  at91: remove all occourances of CONFIG_AT91_LEGACY

 arch/arm/include/asm/arch-at91/at91_pio.h     |   33 ------------
 arch/arm/include/asm/arch-at91/at91_pit.h     |   16 ------
 arch/arm/include/asm/arch-at91/at91_pmc.h     |   51 ++----------------
 arch/arm/include/asm/arch-at91/at91_spi.h     |    2 +-
 arch/arm/include/asm/arch-at91/at91_wdt.h     |   21 --------
 arch/arm/include/asm/arch-at91/at91cap9.h     |   69 -------------------------
 arch/arm/include/asm/arch-at91/at91sam9_smc.h |   60 ---------------------
 doc/README.at91-soc                           |    7 +++
 drivers/i2c/soft_i2c.c                        |    2 +-
 drivers/net/at91_emac.c                       |    9 ----
 drivers/video/bus_vcxk.c                      |   15 ------
 include/configs/at91sam9m10g45ek.h            |    1 -
 include/configs/snapper9260.h                 |    1 -
 include/i2c.h                                 |    2 +-
 14 files changed, 15 insertions(+), 274 deletions(-)

-- 
1.7.10.4



More information about the U-Boot mailing list