diff mbox

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

Message ID 1452159126-22877-8-git-send-email-yanmiaobest@gmail.com
State Accepted
Delegated to: Bin Meng
Headers show

Commit Message

Miao Yan Jan. 7, 2016, 9:32 a.m. UTC
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 | 7 -------
 arch/x86/dts/qemu-x86_q35.dts    | 7 -------
 2 files changed, 14 deletions(-)

Comments

Bin Meng Jan. 12, 2016, 4 a.m. UTC | #1
On Thu, Jan 7, 2016 at 5:32 PM, Miao Yan <yanmiaobest@gmail.com> wrote:
> 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>
> ---

applied to u-boot-x86/next, thanks!
diff mbox

Patch

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@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@1 {
-			device_type = "cpu";
-			compatible = "cpu-qemu";
-			reg = <1>;
-			intel,apic-id = <1>;
-		};
 	};
 
 	tsc-timer {