x86: qemu: Add MP initialization
Add a cpu1 node to the device tree and enable the MP initialization on QEMU targets (i440fx and q35). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -34,6 +34,13 @@
|
||||
reg = <0>;
|
||||
intel,apic-id = <0>;
|
||||
};
|
||||
|
||||
cpu@1 {
|
||||
device_type = "cpu";
|
||||
compatible = "cpu-x86";
|
||||
reg = <1>;
|
||||
intel,apic-id = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
pci {
|
||||
|
||||
@@ -45,6 +45,13 @@
|
||||
reg = <0>;
|
||||
intel,apic-id = <0>;
|
||||
};
|
||||
|
||||
cpu@1 {
|
||||
device_type = "cpu";
|
||||
compatible = "cpu-x86";
|
||||
reg = <1>;
|
||||
intel,apic-id = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
pci {
|
||||
|
||||
Reference in New Issue
Block a user