Commit 19e966b8 authored by Anup Patel's avatar Anup Patel Committed by Anup Patel
Browse files

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: default avatarAnup Patel <anup.patel@wdc.com>
Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
Reviewed-by: default avatarAlistair Francis <alistair.francis@wdc.com>
parent 66185b3e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment