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>
This commit is contained in:
parent
575bb4e8ca
commit
1bc67db80c
|
@ -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);
|
||||
|
||||
|
|
|
@ -262,7 +262,7 @@ int fdt_parse_hart_id(void *fdt, int cpu_offset, u32 *hartid)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int fdt_parse_max_hart_id(void *fdt, u32 *max_hartid)
|
||||
int fdt_parse_max_enabled_hart_id(void *fdt, u32 *max_hartid)
|
||||
{
|
||||
u32 hartid;
|
||||
int err, cpu_offset, cpus_offset;
|
||||
|
|
Loading…
Reference in New Issue