commit | bb3ab6cb55f2e60a9743d94ea5bb3390292184c6 | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Mon Nov 26 20:38:49 2018 +0000 |
committer | Andrew Scull <ascull@google.com> | Wed Feb 20 15:59:30 2019 +0000 |
tree | 41a0cc394910ed5d20d1aef480df02f746ae6422 | |
parent | 1bb0aec3746ea326ef9c97628a590515d259e53d [diff] [blame] |
Get the cpu IDs from the FDT. These are the IDs used to identify cores in PSCI. Change-Id: I9e88a6c69f963864591e39f0191cdd5ce824ce6d
diff --git a/src/plat.c b/src/plat.c index d7d0566..2172d6b 100644 --- a/src/plat.c +++ b/src/plat.c
@@ -83,6 +83,8 @@ goto out_unmap_fdt; } + fdt_find_cpus(&n, p->cpu_ids, &p->cpu_count); + p->mem_ranges_count = 0; fdt_find_memory_ranges(&n, p);