[U-Boot] [PATCH 0/4] at91: remove legacy GPIO API (part 1)
Andreas Bießmann
andreas.devel at googlemail.com
Fri Nov 29 12:13:42 CET 2013
This series adds new macros to name a GPIO, it uses again a single number
(as the legacy at91_pio api does).
It converts the at91-nand and the at91-led stuff to use these new GPIO
numbers. But it is not the whole thing at once, I have another RFC to add new
portmux API which is more close to the hardware, it will work with a port number
plus mask. This will be sent soon, but too late for 2014.01.
This series however had an RFC in the MW and will therefore end up in
the 2014.01 release.
For all waiting on this change, I hopefully merge it next week and send
another PR to Albert.
Andreas Bießmann (4):
at91: add new gpio pin definitions
at91: redefine legacy GPIO PIN_BASE
at91: nand: switch atmel_nand to generic GPIO API
at91: switch coloured LED to gpio API
arch/arm/cpu/arm926ejs/at91/led.c | 16 +++++++---------
arch/arm/include/asm/arch-at91/gpio.h | 26 ++++++++++++++++++++++++--
board/BuS/vl_ma2sc/vl_ma2sc.c | 5 +++--
board/egnite/ethernut5/ethernut5.c | 3 ++-
board/esd/meesc/meesc.c | 5 +++--
board/esd/otc570/otc570.c | 5 +++--
board/eukrea/cpu9260/cpu9260.c | 5 +++--
board/ronetix/pm9261/led.c | 14 +++++++-------
board/ronetix/pm9261/pm9261.c | 5 +++--
board/ronetix/pm9263/led.c | 10 +++++-----
board/ronetix/pm9263/pm9263.c | 5 +++--
board/ronetix/pm9g45/pm9g45.c | 5 +++--
drivers/gpio/at91_gpio.c | 4 +---
drivers/mtd/nand/atmel_nand.c | 8 +++-----
include/configs/at91sam9n12ek.h | 4 ++--
include/configs/cpu9260.h | 4 ++--
include/configs/ethernut5.h | 2 +-
include/configs/meesc.h | 4 ++--
include/configs/otc570.h | 4 ++--
include/configs/pm9261.h | 10 +++++-----
include/configs/pm9263.h | 8 ++++----
include/configs/pm9g45.h | 8 ++++----
include/configs/vl_ma2sc.h | 4 ++--
23 files changed, 94 insertions(+), 70 deletions(-)
--
1.7.10.4
More information about the U-Boot
mailing list