mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-21 12:25:27 +00:00
qemu: Correct CMD_QFW dependencies in Kconfig
Rather than selecting CMD_QFW, we should make the option itself by enabled by default on these platforms. Then in the board-specific Kconfig we should select the appropriate back-end as needed if the command is enabled. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
54ecce2cbf
commit
bfaa048d94
3 changed files with 4 additions and 3 deletions
|
@ -5,8 +5,7 @@ config TEXT_BASE
|
||||||
|
|
||||||
config BOARD_SPECIFIC_OPTIONS # dummy
|
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
def_bool y
|
def_bool y
|
||||||
select CMD_QFW
|
select QFW_MMIO if CMD_QFW
|
||||||
select QFW_MMIO
|
|
||||||
imply VIRTIO_MMIO
|
imply VIRTIO_MMIO
|
||||||
imply VIRTIO_PCI
|
imply VIRTIO_PCI
|
||||||
imply VIRTIO_NET
|
imply VIRTIO_NET
|
||||||
|
|
|
@ -20,7 +20,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
||||||
def_bool y
|
def_bool y
|
||||||
select X86_RESET_VECTOR
|
select X86_RESET_VECTOR
|
||||||
select QEMU
|
select QEMU
|
||||||
select QFW_PIO
|
select QFW_PIO if CMD_QFW
|
||||||
select BOARD_ROMSIZE_KB_1024
|
select BOARD_ROMSIZE_KB_1024
|
||||||
imply VIRTIO_PCI
|
imply VIRTIO_PCI
|
||||||
imply VIRTIO_NET
|
imply VIRTIO_NET
|
||||||
|
|
|
@ -2257,6 +2257,8 @@ config CMD_SYSBOOT
|
||||||
config CMD_QFW
|
config CMD_QFW
|
||||||
bool "qfw"
|
bool "qfw"
|
||||||
select QFW
|
select QFW
|
||||||
|
default y if TARGET_QEMU_ARM_32BIT || TARGET_QEMU_ARM_64BIT || \
|
||||||
|
TARGET_QEMU_X86 || TARGET_QEMU_X86_64
|
||||||
help
|
help
|
||||||
This provides access to the QEMU firmware interface. The main
|
This provides access to the QEMU firmware interface. The main
|
||||||
feature is to allow easy loading of files passed to qemu-system
|
feature is to allow easy loading of files passed to qemu-system
|
||||||
|
|
Loading…
Add table
Reference in a new issue