Although the two qemu-x86 targets (i440fx and q35) share a lot in common, they still have something that cannot easily handled in one single device tree). Split to create two dedicated device tree files and make the i440fx be the default build target. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>master
parent
65cdd9be3e
commit
683b09d783
@ -0,0 +1,34 @@ |
||||
/* |
||||
* Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com> |
||||
* |
||||
* SPDX-License-Identifier: GPL-2.0+ |
||||
*/ |
||||
|
||||
/dts-v1/; |
||||
|
||||
/include/ "skeleton.dtsi" |
||||
/include/ "serial.dtsi" |
||||
|
||||
/ { |
||||
model = "QEMU x86 (I440FX)"; |
||||
compatible = "qemu,x86"; |
||||
|
||||
config { |
||||
silent_console = <0>; |
||||
}; |
||||
|
||||
chosen { |
||||
stdout-path = "/serial"; |
||||
}; |
||||
|
||||
pci { |
||||
compatible = "pci-x86"; |
||||
#address-cells = <3>; |
||||
#size-cells = <2>; |
||||
u-boot,dm-pre-reloc; |
||||
ranges = <0x02000000 0x0 0xc0000000 0xc0000000 0 0x10000000 |
||||
0x42000000 0x0 0xd0000000 0xd0000000 0 0x10000000 |
||||
0x01000000 0x0 0x2000 0x2000 0 0xe000>; |
||||
}; |
||||
|
||||
}; |
@ -1,10 +1,9 @@ |
||||
CONFIG_X86=y |
||||
CONFIG_VENDOR_EMULATION=y |
||||
CONFIG_DEFAULT_DEVICE_TREE="qemu-x86_i440fx" |
||||
CONFIG_TARGET_QEMU_X86=y |
||||
CONFIG_CMD_NET=y |
||||
CONFIG_OF_CONTROL=y |
||||
CONFIG_OF_SEPARATE=y |
||||
CONFIG_DEFAULT_DEVICE_TREE="qemu-x86" |
||||
CONFIG_VIDEO_VESA=y |
||||
CONFIG_FRAMEBUFFER_SET_VESA_MODE=y |
||||
CONFIG_FRAMEBUFFER_VESA_MODE_111=y |
||||
|
Loading…
Reference in new issue