[U-Boot] [PATCH 0/5] dm: serial: Fix up some serial API errors

Simon Glass sjg at chromium.org
Wed Dec 5 19:53:48 UTC 2018


New serial functions should use a device pointer as the first argument.
The old functions are only there for backwards compatibilty, and can be
adjusted soon.

For now, adjust the new functions to work correctly.


Simon Glass (5):
  serial: Move new functions to serial.h
  dm: serial: Adjust serial_getconfig() to use proper API
  dm: serial: Adjust serial_setconfig() to use proper API
  dm: serial: Adjust serial_getinfo() to use proper API
  dm: serial: Tidy up header file comments

 arch/x86/lib/acpi_table.c      | 11 +++++++----
 drivers/serial/serial-uclass.c | 27 +++++++++----------------
 include/common.h               |  5 -----
 include/serial.h               | 36 +++++++++++++++++++++++++++++++---
 test/dm/serial.c               | 19 ++++++++++--------
 5 files changed, 60 insertions(+), 38 deletions(-)

-- 
2.20.0.rc1.387.gf8505762e3-goog



More information about the U-Boot mailing list