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 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                   | 184 ++++++++++++++++----------
 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, 204 insertions(+), 82 deletions(-)
 create mode 100644 include/dm/platform_data/serial_pxa.h

-- 
2.5.5

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to