x86: qemu: Set up device tree for SPL
Add the correct pre-relocation tag so that the required device tree nodes are present in the SPL device tree. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
63767071d9
commit
2cffd90f14
|
@ -29,10 +29,12 @@
|
||||||
cpus {
|
cpus {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
|
|
||||||
cpu@0 {
|
cpu@0 {
|
||||||
device_type = "cpu";
|
device_type = "cpu";
|
||||||
compatible = "cpu-qemu";
|
compatible = "cpu-qemu";
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
intel,apic-id = <0>;
|
intel,apic-id = <0>;
|
||||||
};
|
};
|
||||||
|
@ -54,9 +56,11 @@
|
||||||
pch@1,0 {
|
pch@1,0 {
|
||||||
reg = <0x00000800 0 0 0 0>;
|
reg = <0x00000800 0 0 0 0>;
|
||||||
compatible = "intel,pch7";
|
compatible = "intel,pch7";
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
|
|
||||||
irq-router {
|
irq-router {
|
||||||
compatible = "intel,irq-router";
|
compatible = "intel,irq-router";
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
intel,pirq-config = "pci";
|
intel,pirq-config = "pci";
|
||||||
intel,pirq-link = <0x60 4>;
|
intel,pirq-link = <0x60 4>;
|
||||||
intel,pirq-mask = <0x0e40>;
|
intel,pirq-mask = <0x0e40>;
|
||||||
|
|
|
@ -40,10 +40,12 @@
|
||||||
cpus {
|
cpus {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
|
|
||||||
cpu@0 {
|
cpu@0 {
|
||||||
device_type = "cpu";
|
device_type = "cpu";
|
||||||
compatible = "cpu-qemu";
|
compatible = "cpu-qemu";
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
reg = <0>;
|
reg = <0>;
|
||||||
intel,apic-id = <0>;
|
intel,apic-id = <0>;
|
||||||
};
|
};
|
||||||
|
@ -65,9 +67,11 @@
|
||||||
pch@1f,0 {
|
pch@1f,0 {
|
||||||
reg = <0x0000f800 0 0 0 0>;
|
reg = <0x0000f800 0 0 0 0>;
|
||||||
compatible = "intel,pch9";
|
compatible = "intel,pch9";
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
|
|
||||||
irq-router {
|
irq-router {
|
||||||
compatible = "intel,irq-router";
|
compatible = "intel,irq-router";
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
intel,pirq-config = "pci";
|
intel,pirq-config = "pci";
|
||||||
intel,actl-8bit;
|
intel,actl-8bit;
|
||||||
intel,actl-addr = <0x44>;
|
intel,actl-addr = <0x44>;
|
||||||
|
|
Loading…
Reference in New Issue