[U-Boot] [PATCH v3 0/4] serial: pxa: kconfig and optional driver model integration

Marcel Ziswiler marcel.ziswiler at toradex.com
Mon Nov 14 21:40:24 CET 2016


This series integrates both Kconfig as well as optional driver model
support for the PXA serial driver. As I do not have any of the other
hardware available for testing for now I only transitioned the
Colibri PXA270 to actually make use of DM_SERIAL. As space on this
mostly NOR based hardware is rather constrained I decided against
also integrating device tree support for now but rather use olde
platform data. Your input on this is more than welcome.

Changes in v3:
- Add Marek's reviewed-by.
- Drop spurious newline.
- Add Marek's reviewed-by.

Changes in v2:
- Introduce new patch saving more precious space.
- Drop baudrate checks.
- Use panic instead of just hang() to more gracefully handle
  failure case.
- Drop superfluous parenthesis around plat->base.
- Capitalise header file gating macro.
- Replace tab with space after #define.

Marcel Ziswiler (4):
  serial: pxa: use kconfig for serial configuration
  serial: pxa: integrate optional driver model handling
  colibri_pxa270: drop edit, elf, fpga, hush, regex et al. for space
    reason
  colibri_pxa270: transition to driver model for serial

 board/toradex/colibri_pxa270/colibri_pxa270.c |  18 ++-
 configs/colibri_pxa270_defconfig              |   9 +-
 configs/h2200_defconfig                       |   1 +
 configs/zipitz2_defconfig                     |   1 +
 drivers/serial/Kconfig                        |   6 +
 drivers/serial/serial_pxa.c                   | 183 ++++++++++++++++----------
 include/configs/colibri_pxa270.h              |   7 +-
 include/configs/h2200.h                       |   2 -
 include/configs/zipitz2.h                     |   1 -
 include/dm/platform_data/serial_pxa.h         |  56 ++++++++
 scripts/config_whitelist.txt                  |   1 -
 11 files changed, 203 insertions(+), 82 deletions(-)
 create mode 100644 include/dm/platform_data/serial_pxa.h

-- 
2.5.5



More information about the U-Boot mailing list