[U-Boot] [PATCH v6 7/8] x86: qemu: remove cpu node in device tree

Miao Yan yanmiaobest at gmail.com
Thu Jan 7 10:32:05 CET 2016


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 at gmail.com>
Reviewed-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
---
 arch/x86/dts/qemu-x86_i440fx.dts | 7 -------
 arch/x86/dts/qemu-x86_q35.dts    | 7 -------
 2 files changed, 14 deletions(-)

diff --git a/arch/x86/dts/qemu-x86_i440fx.dts b/arch/x86/dts/qemu-x86_i440fx.dts
index 4332204..9086b46 100644
--- a/arch/x86/dts/qemu-x86_i440fx.dts
+++ b/arch/x86/dts/qemu-x86_i440fx.dts
@@ -36,13 +36,6 @@
 			reg = <0>;
 			intel,apic-id = <0>;
 		};
-
-		cpu at 1 {
-			device_type = "cpu";
-			compatible = "cpu-qemu";
-			reg = <1>;
-			intel,apic-id = <1>;
-		};
 	};
 
 	tsc-timer {
diff --git a/arch/x86/dts/qemu-x86_q35.dts b/arch/x86/dts/qemu-x86_q35.dts
index 3e2cfac..145e811 100644
--- a/arch/x86/dts/qemu-x86_q35.dts
+++ b/arch/x86/dts/qemu-x86_q35.dts
@@ -47,13 +47,6 @@
 			reg = <0>;
 			intel,apic-id = <0>;
 		};
-
-		cpu at 1 {
-			device_type = "cpu";
-			compatible = "cpu-qemu";
-			reg = <1>;
-			intel,apic-id = <1>;
-		};
 	};
 
 	tsc-timer {
-- 
1.9.1



More information about the U-Boot mailing list