Merge "feat(qemu-sbsa): mpidr needs to be present" into integration

This commit is contained in:
Sandrine Bailleux 2024-01-16 09:47:43 +01:00 committed by TrustedFirmware Code Review
commit 23d6774ab5

View file

@ -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)) {