x86: qemu: remove cpu node in device tree
authorMiao Yan <yanmiaobest@gmail.com>
Thu, 7 Jan 2016 09:32:05 +0000 (01:32 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 13 Jan 2016 04:20:16 +0000 (12:20 +0800)
Remove 'cpu' node in device tree for QEMU targets, and let U-Boot detect
and fix up those information at runtime.

Signed-off-by: Miao Yan <yanmiaobest@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/dts/qemu-x86_i440fx.dts
arch/x86/dts/qemu-x86_q35.dts

index 433220475dcf3794776c08df12d6ed5c33635598..9086b461b9d1362745318d41f02cdf379a1a09e9 100644 (file)
                        reg = <0>;
                        intel,apic-id = <0>;
                };
-
-               cpu@1 {
-                       device_type = "cpu";
-                       compatible = "cpu-qemu";
-                       reg = <1>;
-                       intel,apic-id = <1>;
-               };
        };
 
        tsc-timer {
index 3e2cfac5031393e30fdad0962037001e831b8833..145e8115cec96ef1e1845981464e56db20b3e1b7 100644 (file)
                        reg = <0>;
                        intel,apic-id = <0>;
                };
-
-               cpu@1 {
-                       device_type = "cpu";
-                       compatible = "cpu-qemu";
-                       reg = <1>;
-                       intel,apic-id = <1>;
-               };
        };
 
        tsc-timer {