mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-24 13:55:56 +00:00
Merge "feat(qemu-sbsa): mpidr needs to be present" into integration
This commit is contained in:
commit
23d6774ab5
1 changed files with 3 additions and 0 deletions
|
@ -103,6 +103,9 @@ void read_cpuinfo_from_dt(void *dtb)
|
|||
while (node > 0) {
|
||||
if (fdt_getprop(dtb, node, "reg", NULL)) {
|
||||
fdt_get_reg_props_by_index(dtb, node, 0, &mpidr, NULL);
|
||||
} else {
|
||||
ERROR("Incomplete information for cpu %d in DeviceTree.\n", cpu);
|
||||
panic();
|
||||
}
|
||||
|
||||
if (fdt_getprop(dtb, node, "numa-node-id", NULL)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue