]> git.baikalelectronics.ru Git - uboot.git/commit
dm: serial: Introduce ->getinfo() callback
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 20 Nov 2018 21:52:33 +0000 (23:52 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Dec 2018 13:08:31 +0000 (06:08 -0700)
commit24a0d9a4d6e26d129ba6108115c1dc826182e1d6
treeba4c615f53874d52b17a25dbf02c10b357c31789
parentcb2ab585b605b3e661e6dd42d987d3360bfa5dca
dm: serial: Introduce ->getinfo() callback

New callback will give a necessary information to fill up ACPI SPCR table,
for example. Maybe used later for other purposes.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Change ADR_SPACE_SYSTEM_IO to SERIAL_ADDRESS_SPACE_IO to fix build error:
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/serial/sandbox.c
drivers/serial/serial-uclass.c
include/common.h
include/serial.h
test/dm/serial.c