riscv-softmmu.mak: replace CONFIG_* with Kconfig "select" directives
%-softmmu.mak only keep boards and optional device definitions in Kconfig mode. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
312c320ff8
commit
82a230d5a3
@ -1,21 +1,12 @@
|
|||||||
# Default configuration for riscv-softmmu
|
# Default configuration for riscv32-softmmu
|
||||||
|
|
||||||
CONFIG_PCI=y
|
# Uncomment the following lines to disable these optional devices:
|
||||||
CONFIG_PCI_DEVICES=y
|
#
|
||||||
CONFIG_SERIAL=y
|
#CONFIG_PCI_DEVICES=n
|
||||||
CONFIG_VIRTIO_MMIO=y
|
|
||||||
|
|
||||||
CONFIG_CADENCE=y
|
|
||||||
|
|
||||||
CONFIG_PCI_EXPRESS=y
|
|
||||||
CONFIG_PCI_EXPRESS_GENERIC_BRIDGE=y
|
|
||||||
|
|
||||||
CONFIG_VGA=y
|
|
||||||
CONFIG_VGA_PCI=y
|
|
||||||
|
|
||||||
|
# Boards:
|
||||||
|
#
|
||||||
CONFIG_SPIKE=y
|
CONFIG_SPIKE=y
|
||||||
CONFIG_HART=y
|
|
||||||
CONFIG_SIFIVE_E=y
|
CONFIG_SIFIVE_E=y
|
||||||
CONFIG_SIFIVE=y
|
|
||||||
CONFIG_SIFIVE_U=y
|
CONFIG_SIFIVE_U=y
|
||||||
CONFIG_RISCV_VIRT=y
|
CONFIG_RISCV_VIRT=y
|
||||||
|
@ -1,21 +1,3 @@
|
|||||||
# Default configuration for riscv-softmmu
|
# Default configuration for riscv64-softmmu
|
||||||
|
|
||||||
CONFIG_PCI=y
|
include riscv32-softmmu.mak
|
||||||
CONFIG_PCI_DEVICES=y
|
|
||||||
CONFIG_SERIAL=y
|
|
||||||
CONFIG_VIRTIO_MMIO=y
|
|
||||||
|
|
||||||
CONFIG_CADENCE=y
|
|
||||||
|
|
||||||
CONFIG_PCI_EXPRESS=y
|
|
||||||
CONFIG_PCI_EXPRESS_GENERIC_BRIDGE=y
|
|
||||||
|
|
||||||
CONFIG_VGA=y
|
|
||||||
CONFIG_VGA_PCI=y
|
|
||||||
|
|
||||||
CONFIG_SPIKE=y
|
|
||||||
CONFIG_HART=y
|
|
||||||
CONFIG_SIFIVE_E=y
|
|
||||||
CONFIG_SIFIVE=y
|
|
||||||
CONFIG_SIFIVE_U=y
|
|
||||||
CONFIG_RISCV_VIRT=y
|
|
||||||
|
@ -9,12 +9,25 @@ config SIFIVE
|
|||||||
|
|
||||||
config SIFIVE_E
|
config SIFIVE_E
|
||||||
bool
|
bool
|
||||||
|
select HART
|
||||||
|
select SIFIVE
|
||||||
|
|
||||||
config SIFIVE_U
|
config SIFIVE_U
|
||||||
bool
|
bool
|
||||||
|
select CADENCE
|
||||||
|
select HART
|
||||||
|
select SIFIVE
|
||||||
|
|
||||||
config SPIKE
|
config SPIKE
|
||||||
bool
|
bool
|
||||||
|
select HART
|
||||||
|
select HTIF
|
||||||
|
select SIFIVE
|
||||||
|
|
||||||
config RISCV_VIRT
|
config RISCV_VIRT
|
||||||
bool
|
bool
|
||||||
|
select HART
|
||||||
|
select SERIAL
|
||||||
|
select VIRTIO_MMIO
|
||||||
|
select PCI_EXPRESS_GENERIC_BRIDGE
|
||||||
|
select SIFIVE
|
||||||
|
Loading…
Reference in New Issue
Block a user