diff options
author | Anup Patel <anup.patel@wdc.com> | 2020-04-26 10:09:13 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2020-05-01 07:13:07 +0300 |
commit | 19e966b8622e21c6beb2872d3e4373de9dbfef45 (patch) | |
tree | a6c57a3a12a3b676fc8d7a93a1e6a1bfe67e3d74 /lib/utils/serial | |
parent | 66185b3ec9f103fef14e034550102a6f2a58bf57 (diff) | |
download | opensbi-19e966b8622e21c6beb2872d3e4373de9dbfef45.tar.xz |
lib: utils: Add fdt_parse_hart_id() function
Parsing HART id from a CPU DT node is a common requirement for
RISC-V systems. The newly added fdt_parse_hart_id() also helps
reduce duplicate code between fdt_cpu_fixup() function and
fdt_parse_hart_count() function.
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>
Diffstat (limited to 'lib/utils/serial')
0 files changed, 0 insertions, 0 deletions