summary refs log tree commit diff stats
path: root/hw
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-01-29 12:16:27 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-03-07 21:46:19 +0100
commit7ab58d4c841b7cb5752e5c49c5cf8da9a830115b (patch)
tree3e003178c068d1df7a6eeadb6c2b8cd283d625a5 /hw
parent9e5c2056d1e80f344a0c412d7a3d847db1f4e034 (diff)
downloadfocaccia-qemu-7ab58d4c841b7cb5752e5c49c5cf8da9a830115b.tar.gz
focaccia-qemu-7ab58d4c841b7cb5752e5c49c5cf8da9a830115b.zip
sh4-softmmu.mak: express dependencies with Kconfig
%-softmmu.mak only keep boards and optional device
definitions in Kconfig mode.

Note that USB_OHCI was missing (it was brought in via pci.mak,
but r2d needs the sysbus version) and SERIAL is not used.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/sh4/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/hw/sh4/Kconfig b/hw/sh4/Kconfig
index 1ea2bc356d..8597613a35 100644
--- a/hw/sh4/Kconfig
+++ b/hw/sh4/Kconfig
@@ -1,8 +1,19 @@
 config R2D
     bool
+    imply PCI_DEVICES
+    imply TEST_DEVICES
+    select I82378 if TEST_DEVICES
+    select IDE_MMIO
+    select PFLASH_CFI02
+    select USB_OHCI
+    select PCI
+    select SM501
+    select SH4
 
 config SHIX
     bool
+    select SH7750
+    select SH4
 
 config SH7750
     bool