summaryrefslogtreecommitdiffstats
path: root/hw/ppc/Kconfig
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2019-12-31 19:32:12 +0100
committerPaolo Bonzini2020-01-07 12:08:39 +0100
commit032757adaa2fb77fcd2067c0063f32a4a8a78636 (patch)
treefbabb8e124d14045e882b8238e26ff3f6c47490d /hw/ppc/Kconfig
parenthw/ppc/Makefile: Simplify the sPAPR PCI objects rule (diff)
downloadqemu-032757adaa2fb77fcd2067c0063f32a4a8a78636.tar.gz
qemu-032757adaa2fb77fcd2067c0063f32a4a8a78636.tar.xz
qemu-032757adaa2fb77fcd2067c0063f32a4a8a78636.zip
hw/ppc/Kconfig: Only select fw_cfg with machines using OpenBIOS
The fw_cfg helpers are only used by machines using OpenBIOS. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20191231183216.6781-11-philmd@redhat.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/ppc/Kconfig')
-rw-r--r--hw/ppc/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig
index d8482a5e99..e4ca920507 100644
--- a/hw/ppc/Kconfig
+++ b/hw/ppc/Kconfig
@@ -72,6 +72,7 @@ config PREP
select M48T59
select PC87312
select RS6000_MC
+ select FW_CFG_PPC
config RS6000_MC
bool
@@ -85,6 +86,7 @@ config MAC_OLDWORLD
select GRACKLE_PCI
select HEATHROW_PIC
select MACIO
+ select FW_CFG_PPC
config MAC_NEWWORLD
bool
@@ -96,6 +98,7 @@ config MAC_NEWWORLD
select MACIO_GPIO
select MAC_PMU
select UNIN_PCI
+ select FW_CFG_PPC
config E500
bool
@@ -130,3 +133,6 @@ config XIVE_KVM
bool
default y
depends on XIVE_SPAPR && KVM
+
+config FW_CFG_PPC
+ bool