lib: utils: Add LiteX UART support
authorGabriel Somlo <gsomlo@gmail.com>
Tue, 16 Nov 2021 19:17:04 +0000 (14:17 -0500)
committerAnup Patel <anup@brainfault.org>
Thu, 18 Nov 2021 07:52:02 +0000 (13:22 +0530)
commit52af6e4b52d0ea1d687121bfba0954c2621d2629
tree4e075754ccc1d9271fcf38988dec820a06de0c61
parentd335a178d8cfdf2ed13af70fe385f7e38162e171
lib: utils: Add LiteX UART support

Add support for the UART provided by the LiteX SoC
framework (https://github.com/enjoy-digital/litex),
based on its FDT info (described in the Linux tree at
Documentation/devicetree/bindings/serial/litex,liteuart.yaml).

Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
include/sbi_utils/serial/litex-uart.h [new file with mode: 0644]
lib/utils/serial/fdt_serial.c
lib/utils/serial/fdt_serial_litex.c [new file with mode: 0644]
lib/utils/serial/litex-uart.c [new file with mode: 0644]
lib/utils/serial/objects.mk