lib: utils: Add fdt_parse_sifive_uart_node() function
authorAnup Patel <anup.patel@wdc.com>
Sat, 25 Apr 2020 13:20:37 +0000 (18:50 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 1 May 2020 04:10:31 +0000 (09:40 +0530)
commit66185b3ec9f103fef14e034550102a6f2a58bf57
tree61a3bcc5b03d7b811b9d085b811698bc35ecc30d
parentdd33b9e0a152699416ade045ad6f630432e7f968
lib: utils: Add fdt_parse_sifive_uart_node() function

We add fdt_parse_sifive_uart_node() function which will allow
us to parse a particular DT node as SiFive UART node. This will
be useful in parsing the node pointed by stdout-path.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
include/sbi_utils/fdt/fdt_helper.h
lib/utils/fdt/fdt_helper.c