From: Thomas Huth <thuth@redhat.com>
To: qemu-devel@nongnu.org
Cc: David Gibson <david@gibson.dropbear.id.au>,
qemu-ppc@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
yang.zhong@intel.com
Subject: [Qemu-devel] [PATCH v2 4/5] ppc: Express dependencies of the Sam460EX machines with kconfig
Date: Thu, 31 Jan 2019 14:53:29 +0100 [thread overview]
Message-ID: <1548942810-22942-5-git-send-email-thuth@redhat.com> (raw)
In-Reply-To: <1548942810-22942-1-git-send-email-thuth@redhat.com>
Most of the dependencies are now directly selected by the SAM460EX
switch. We can drop CONFIG_VGA_CIRRUS since this device is already
selected automatically when CONFIG_PCI_DEVICES is set.
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
default-configs/ppc-softmmu.mak | 10 ----------
hw/display/Kconfig | 1 +
hw/ppc/Kconfig | 10 ++++++++++
hw/usb/Kconfig | 2 +-
4 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/default-configs/ppc-softmmu.mak b/default-configs/ppc-softmmu.mak
index 513a8e9..5265d8a 100644
--- a/default-configs/ppc-softmmu.mak
+++ b/default-configs/ppc-softmmu.mak
@@ -25,16 +25,6 @@ CONFIG_PCI_EXPRESS=y
# For Sam460ex
CONFIG_SAM460EX=y
-CONFIG_USB_EHCI_SYSBUS=y
-CONFIG_SM501=y
-CONFIG_DDC=y
-CONFIG_IDE_SII3112=y
-CONFIG_I2C=y
-CONFIG_AT24C=y
-CONFIG_BITBANG_I2C=y
-CONFIG_M41T80=y
-CONFIG_VGA_CIRRUS=y
-CONFIG_SMBUS_EEPROM=y
# For Macs
CONFIG_MAC_OLDWORLD=y
diff --git a/hw/display/Kconfig b/hw/display/Kconfig
index c784fe8..f8e6136 100644
--- a/hw/display/Kconfig
+++ b/hw/display/Kconfig
@@ -76,6 +76,7 @@ config MILKYMIST_TMU2
config SM501
bool
depends on I2C
+ select DDC
config TCX
bool
diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig
index 2956c86..35e3704 100644
--- a/hw/ppc/Kconfig
+++ b/hw/ppc/Kconfig
@@ -27,9 +27,19 @@ config PPC440
config PPC4XX
bool
+ select BITBANG_I2C
+ select PCI
config SAM460EX
bool
+ select PFLASH_CFI01
+ select IDE_SII3112
+ select M41T80
+ select PPC440
+ select SM501
+ select SMBUS_EEPROM
+ select USB_EHCI_SYSBUS
+ select USB_OHCI
config PREP
bool
diff --git a/hw/usb/Kconfig b/hw/usb/Kconfig
index a1b7acb..871ea47 100644
--- a/hw/usb/Kconfig
+++ b/hw/usb/Kconfig
@@ -21,7 +21,7 @@ config USB_EHCI
config USB_EHCI_SYSBUS
bool
- select USB
+ select USB_EHCI
config USB_XHCI
bool
--
1.8.3.1
next prev parent reply other threads:[~2019-01-31 13:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-31 13:53 [Qemu-devel] [PATCH v2 0/5] Kconfig dependencies for ppc machines Thomas Huth
2019-01-31 13:53 ` [Qemu-devel] [PATCH v2 1/5] ppc64: Express dependencies of 'pseries' and 'powernv' machines with kconfig Thomas Huth
2019-01-31 14:54 ` Paolo Bonzini
2019-01-31 13:53 ` [Qemu-devel] [PATCH v2 2/5] ppc: Express dependencies of the 'prep' and '40p' " Thomas Huth
2019-02-02 17:13 ` Hervé Poussineau
2019-01-31 13:53 ` [Qemu-devel] [PATCH v2 3/5] ppc: Express dependencies of the Mac " Thomas Huth
2019-01-31 13:53 ` Thomas Huth [this message]
2019-01-31 13:53 ` [Qemu-devel] [PATCH v2 5/5] ppc: Express dependencies of the embedded " Thomas Huth
2019-01-31 15:02 ` [Qemu-devel] [PATCH v2 0/5] Kconfig dependencies for ppc machines Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1548942810-22942-5-git-send-email-thuth@redhat.com \
--to=thuth@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=yang.zhong@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).