[U-Boot] [PATCH 0/9] Malta UART using device model & device tree
Paul Burton
paul.burton at imgtec.com
Fri Jan 29 14:54:46 CET 2016
This series converts the MIPS Malta development board to make use of
device model & device tree to probe the UART(s). This results in a
tidier way to handle differences between Malta boards & starts Malta on
the path to device model conversion.
Paul Burton (9):
ioport.h: Remove struct resource & co
fdt: Support for ISA busses
fdt: Support providing IORESOURCE_* flags from translation
ns16550: Support I/O accessors selected by DT
MIPS: Remove SLOW_DOWN_IO
MIPS: Support dynamic I/O port base address
malta: Set I/O port base early
malta: Use I/O accessors for SuperI/O controller
malta: Use device model & tree for UART
arch/mips/Kconfig | 9 +++
arch/mips/dts/Makefile | 2 +-
arch/mips/dts/mti,malta.dts | 50 ++++++++++++++++
arch/mips/include/asm/global_data.h | 3 +
arch/mips/include/asm/io.h | 82 +++++++++----------------
arch/mips/lib/Makefile | 1 -
arch/mips/lib/io.c | 12 ----
board/imgtec/malta/malta.c | 27 ++-------
board/imgtec/malta/superio.c | 10 ++--
board/imgtec/malta/superio.h | 2 +-
common/fdt_support.c | 115 ++++++++++++++++++++++++++++++++++--
configs/malta_defconfig | 1 +
configs/maltael_defconfig | 1 +
drivers/core/Kconfig | 4 ++
drivers/core/device.c | 23 +++++++-
drivers/serial/ns16550.c | 46 ++++++++++++---
drivers/usb/dwc3/core.h | 1 -
include/configs/malta.h | 8 +--
include/dm/device.h | 23 ++++++++
include/fdt_support.h | 2 +
include/linux/ioport.h | 104 --------------------------------
include/ns16550.h | 31 ++++++----
22 files changed, 321 insertions(+), 236 deletions(-)
create mode 100644 arch/mips/dts/mti,malta.dts
delete mode 100644 arch/mips/lib/io.c
--
2.7.0
More information about the U-Boot
mailing list