[U-Boot] [PATCH 0/8] x86: Convert serial and GPIO to driver model

Simon Glass sjg at chromium.org
Fri Oct 10 15:49:12 CEST 2014


This series moves x86 to use driver model and enables it for the GPIO and
serial driver on link.

The pre-relocation malloc() feature is enabled before calling
board_init_f() in the same way as on ARM. The existing ns16550 driver is
used, but this time in I/O mode. No attempt is made to remove the
CONFIG_SYS_NS16550_PORT_MAPPED option at this stage - it seems that this
might be better left until more boards are converted to driver model.


Simon Glass (8):
  dm: serial: ns16550: Add a cast to the I/O operations
  dm: x86: Remove ebp assembler warning in zimage.c
  dm: x86: Zero global data before board_init_f()
  dm: x86: Support pre-reloc malloc()
  dm: x86: Add a gpio header for coreboot
  dm: x86: Convert Intel ICH6 GPIO driver to use driver model
  dm: x86: dts: Add additional info to the serial port node
  dm: x86: Convert coreboot serial to use driver model

 arch/x86/cpu/start.S                      |  13 ++
 arch/x86/dts/coreboot.dtsi                |   9 +-
 arch/x86/dts/link.dts                     |  18 ++-
 arch/x86/include/asm/arch-coreboot/gpio.h |  15 ++
 arch/x86/include/asm/gpio.h               |   1 +
 arch/x86/include/asm/ibmpc.h              |  10 --
 arch/x86/lib/zimage.c                     |   1 -
 drivers/gpio/intel_ich6_gpio.c            | 250 ++++++++++++++----------------
 drivers/serial/Makefile                   |   1 +
 drivers/serial/ns16550.c                  |   4 +-
 drivers/serial/serial_coreboot.c          |  38 +++++
 include/configs/coreboot.h                |  22 +--
 12 files changed, 223 insertions(+), 159 deletions(-)
 create mode 100644 arch/x86/include/asm/arch-coreboot/gpio.h
 create mode 100644 drivers/serial/serial_coreboot.c

-- 
2.1.0.rc2.206.gedb03e5



More information about the U-Boot mailing list