summary refs log tree commit diff stats
path: root/hw
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2019-02-07 16:51:56 +0100
committerThomas Huth <thuth@redhat.com>2019-05-13 09:36:31 +0200
commit73129f43dd6fba064d608c7e1a0bb4ca0400a1fb (patch)
tree2b6c842e0d229555717d33b7c8396b2bb83c9612 /hw
parent4cdea98bfed175c087fa0b206690f689f5ebb8e5 (diff)
downloadfocaccia-qemu-73129f43dd6fba064d608c7e1a0bb4ca0400a1fb.tar.gz
focaccia-qemu-73129f43dd6fba064d608c7e1a0bb4ca0400a1fb.zip
hw/arm: Express dependencies of the fsl-imx31 machine with Kconfig
Add Kconfig dependencies for the fsl-imx31 / kzm machine.
This patch is slightly based on earlier work by Ákos Kovács (i.e.
his "hw/arm/Kconfig: Add ARM Kconfig" patch).

Reviewed-by: Peter Chubb <peter.chubb@data61.csiro.au>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/arm/Kconfig4
-rw-r--r--hw/misc/Kconfig2
2 files changed, 6 insertions, 0 deletions
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index ad3b1f9b40..9087b7d714 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -98,6 +98,10 @@ config FSL_IMX25
 
 config FSL_IMX31
     bool
+    select SERIAL
+    select IMX
+    select IMX_I2C
+    select LAN9118
 
 config FSL_IMX6
     bool
diff --git a/hw/misc/Kconfig b/hw/misc/Kconfig
index 5f67d0d6d9..385e1b0cec 100644
--- a/hw/misc/Kconfig
+++ b/hw/misc/Kconfig
@@ -76,6 +76,8 @@ config ECCMEMCTL
 config IMX
     bool
     select PTIMER
+    select SSI
+    select USB_EHCI_SYSBUS
 
 config STM32F2XX_SYSCFG
     bool