[U-Boot] [PATCH 0/7] dm-serial: bug fix and refactoring and conversion of Uniphier serial
Masahiro Yamada
yamada.m at jp.panasonic.com
Wed Oct 22 11:13:55 CEST 2014
1/7: bug fix of console serial
2/7 - 3/7: cleanup
4/7: prepare some Kconfig entries
5/7 - 7/7: convert UniPhier serial driver and some cleanups
Simon,
As I promised before, here is the conversion of
driver/serial/serial_uniphier.c into driver model.
It has taken some time because I have had a hard time
to find 1/7 bug.
BTW, lowlevel-debug patches were really helpful
to debug driver-model serial.
http://patchwork.ozlabs.org/patch/384612/
http://patchwork.ozlabs.org/patch/384615/
http://patchwork.ozlabs.org/patch/384613/
http://patchwork.ozlabs.org/patch/384611/
It is generally very difficult to test our boards
in situations where UART is not working.
This series uses:
http://patchwork.ozlabs.org/patch/397088/
as a prerequisite.
Masahiro Yamada (7):
dm: serial: fix a bug of console putc
serial: add static directive to local functions
dm: serial: consolidate common code
dm: add entries to Kconfig
dm: serial: use Driver Model for UniPhier serial driver
serial: uniphier: move CONFIG_UNIPHIER_SERIAL to Kconfig
serial: remove uniphier_serial_initialize() call
arch/arm/cpu/armv7/uniphier/ph1-ld4/Makefile | 1 +
arch/arm/cpu/armv7/uniphier/ph1-ld4/platdevice.c | 15 ++
arch/arm/cpu/armv7/uniphier/ph1-pro4/Makefile | 1 +
arch/arm/cpu/armv7/uniphier/ph1-pro4/platdevice.c | 15 ++
arch/arm/cpu/armv7/uniphier/ph1-sld8/Makefile | 1 +
arch/arm/cpu/armv7/uniphier/ph1-sld8/platdevice.c | 15 ++
arch/arm/include/asm/arch-uniphier/platdevice.h | 24 +++
configs/ph1_ld4_defconfig | 3 +
configs/ph1_pro4_defconfig | 3 +
configs/ph1_sld8_defconfig | 3 +
drivers/core/Kconfig | 6 +
drivers/gpio/Kconfig | 6 +
drivers/serial/Kconfig | 12 ++
drivers/serial/serial-uclass.c | 93 +++++-----
drivers/serial/serial.c | 2 -
drivers/serial/serial_ns16550.c | 21 +--
drivers/serial/serial_s3c24x0.c | 10 +-
drivers/serial/serial_uniphier.c | 199 ++++++++--------------
include/common.h | 7 -
include/configs/ph1_ld4.h | 6 +-
include/configs/ph1_pro4.h | 6 +-
include/configs/ph1_sld8.h | 6 +-
include/configs/uniphier-common.h | 7 +-
include/dm/platform_data/serial-uniphier.h | 18 ++
24 files changed, 261 insertions(+), 219 deletions(-)
create mode 100644 arch/arm/cpu/armv7/uniphier/ph1-ld4/platdevice.c
create mode 100644 arch/arm/cpu/armv7/uniphier/ph1-pro4/platdevice.c
create mode 100644 arch/arm/cpu/armv7/uniphier/ph1-sld8/platdevice.c
create mode 100644 arch/arm/include/asm/arch-uniphier/platdevice.h
create mode 100644 include/dm/platform_data/serial-uniphier.h
--
1.9.1
More information about the U-Boot
mailing list