[U-Boot] [PATCH 0/7] dm: Introduce driver model for Atmel at91

Simon Glass sjg at chromium.org
Mon Oct 6 20:14:04 CEST 2014


This series adds driver model support for serial and GPIO for the Atmel AT91
series. The at91sam9260-based Snapper 9260 is converted over as an example.

For both drivers the old behaviour is retained, so driver model becomes
option, not mandatory.

This series is available at u-boot-dm/atmel-working.


Simon Glass (7):
  dm: at91: Correct text base for snapper9260
  dm: at91: Move snapper9260 to generic baord
  dm: at91: Add driver model support for atmel GPIO driver
  dm: at91: Add platform data for GPIO on at91sam9260-based boards
  dm: at91: Refactor serial driver slightly for driver model
  dm: at91: Add driver model support for the serial driver
  dm: at91: Convert snapper9260 to use driver model

 arch/arm/cpu/arm926ejs/at91/at91sam9260_devices.c |  14 ++
 arch/arm/include/asm/arch-at91/at91_serial.h      |  15 ++
 arch/arm/include/asm/arch-at91/at91sam9260.h      |   4 +-
 arch/arm/include/asm/arch-at91/gpio.h             |   6 +
 board/bluewater/snapper9260/snapper9260.c         |  18 +-
 drivers/gpio/at91_gpio.c                          | 221 +++++++++++++++++-----
 drivers/serial/atmel_usart.c                      | 117 +++++++++++-
 include/configs/snapper9260.h                     |  12 +-
 8 files changed, 349 insertions(+), 58 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-at91/at91_serial.h

-- 
2.1.0.rc2.206.gedb03e5



More information about the U-Boot mailing list