lib: utils: Improve fdt_parse_uart8250() API
authorAnup Patel <anup.patel@wdc.com>
Fri, 24 Apr 2020 09:51:34 +0000 (15:21 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 1 May 2020 04:06:13 +0000 (09:36 +0530)
commit01a8c8eebb6f219afb3873fce82a11a7cf49a03e
treeaf88966d45c52d7a5a919bb35dc647e3ca30d3b3
parente6c1345f89f0c2fa5d8b0dde733eb80366056632
lib: utils: Improve fdt_parse_uart8250() API

The information parsed by fdt_parse_uart8250() API is not complete.
We need to parse reg-shift and reg-io-width for UART 8520 as well.

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