[U-Boot] [PATCH 0/4] dm: rpi: Move Raspberry Pi to use driver model

Simon Glass sjg at chromium.org
Tue Sep 23 01:30:55 CEST 2014


This series adds driver model support to the GPIO and serial drivers used
by Raspberry Pi, and moves Raspberry Pi over to driver model.

This requires adding driver model support to the pl01x serial driver, and
replacing the bcm2835 GPIO driver with a driver model version (since there
are no longer clients that don't use driver model).

See u-boot-dm.git branch rpi-working for the tree this is based on.


Simon Glass (4):
  dm: rpi: Convert GPIO driver to driver model
  dm: serial: Tidy up the pl01x driver
  dm: serial: Support driver model in pl01x driver
  dm: rpi: Move serial to driver model

 arch/arm/include/asm/arch-bcm2835/gpio.h           |   9 +
 board/raspberrypi/rpi_b/rpi_b.c                    |  23 ++
 drivers/gpio/bcm2835_gpio.c                        | 180 ++++++++--
 drivers/serial/Makefile                            |   5 +-
 drivers/serial/serial_pl01x.c                      | 373 +++++++++++++--------
 .../{serial_pl01x.h => serial_pl01x_internal.h}    |   0
 include/configs/rpi_b.h                            |  11 +-
 include/serial_pl01x.h                             |  27 ++
 8 files changed, 462 insertions(+), 166 deletions(-)
 rename drivers/serial/{serial_pl01x.h => serial_pl01x_internal.h} (100%)
 create mode 100644 include/serial_pl01x.h

-- 
2.1.0.rc2.206.gedb03e5



More information about the U-Boot mailing list