diff options
author | Jan Remes <jan.remes@codasip.com> | 2022-05-13 13:58:43 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-05-14 07:48:12 +0300 |
commit | 1bc67db80cb0a10d8ebbaaf550a79eee2a07158e (patch) | |
tree | e84254663cd49270fb6916e39644391dd83328c3 /include | |
parent | 575bb4e8caa02d8411934c5ca47bcf87e6764133 (diff) | |
download | opensbi-1bc67db80cb0a10d8ebbaaf550a79eee2a07158e.tar.xz |
lib: utils/fdt: rename fdt_parse_max_hart_id
The function returns the highest hart-id of the harts actually used in
the system (enabled). Change the name to reflect this fact.
Signed-off-by: Jan Remes <jan.remes@codasip.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/sbi_utils/fdt/fdt_helper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sbi_utils/fdt/fdt_helper.h b/include/sbi_utils/fdt/fdt_helper.h index a9c0a8a..74ea234 100644 --- a/include/sbi_utils/fdt/fdt_helper.h +++ b/include/sbi_utils/fdt/fdt_helper.h @@ -52,7 +52,7 @@ bool fdt_node_is_enabled(void *fdt, int nodeoff); int fdt_parse_hart_id(void *fdt, int cpu_offset, u32 *hartid); -int fdt_parse_max_hart_id(void *fdt, u32 *max_hartid); +int fdt_parse_max_enabled_hart_id(void *fdt, u32 *max_hartid); int fdt_parse_timebase_frequency(void *fdt, unsigned long *freq); |