diff mbox series

[RFC,2/4] hw/ppc: Rename FDT_PPC as FDT

Message ID 20201005150845.2124381-3-philmd@redhat.com
State New
Headers show
Series hw: Have some targets select FDT on a per-machine basis | expand

Commit Message

Philippe Mathieu-Daudé Oct. 5, 2020, 3:08 p.m. UTC
Use the generic FDT symbol.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 hw/ppc/Kconfig     | 15 ++++++---------
 hw/ppc/meson.build |  2 +-
 2 files changed, 7 insertions(+), 10 deletions(-)
diff mbox series

Patch

diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig
index dd86e664d2..e6b8957964 100644
--- a/hw/ppc/Kconfig
+++ b/hw/ppc/Kconfig
@@ -10,7 +10,7 @@  config PSERIES
     select XICS_SPAPR
     select XIVE_SPAPR
     select MSI_NONBROKEN
-    select FDT_PPC
+    select FDT
     select CHRP_NVRAM
 
 config SPAPR_RNG
@@ -28,7 +28,7 @@  config POWERNV
     select MC146818RTC
     select XICS
     select XIVE
-    select FDT_PPC
+    select FDT
     select PCI_EXPRESS
     select MSI_NONBROKEN
 
@@ -47,7 +47,7 @@  config PPC440
     select PCI_EXPRESS
     select PPC4XX
     select SERIAL
-    select FDT_PPC
+    select FDT
 
 config PPC4XX
     bool
@@ -66,7 +66,7 @@  config SAM460EX
     select SMBUS_EEPROM
     select USB_EHCI_SYSBUS
     select USB_OHCI
-    select FDT_PPC
+    select FDT
 
 config PREP
     bool
@@ -117,7 +117,7 @@  config E500
     select PPCE500_PCI
     select SERIAL
     select MPC_I2C
-    select FDT_PPC
+    select FDT
 
 config VIRTEX
     bool
@@ -126,7 +126,7 @@  config VIRTEX
     select SERIAL
     select XILINX
     select XILINX_ETHLITE
-    select FDT_PPC
+    select FDT
 
 config XIVE
     bool
@@ -146,6 +146,3 @@  config XIVE_KVM
 # Only used by 64-bit targets
 config FW_CFG_PPC
     bool
-
-config FDT_PPC
-    bool
diff --git a/hw/ppc/meson.build b/hw/ppc/meson.build
index ffa2ec37fa..613a635bc4 100644
--- a/hw/ppc/meson.build
+++ b/hw/ppc/meson.build
@@ -3,7 +3,7 @@  ppc_ss.add(files(
   'ppc.c',
   'ppc_booke.c',
 ))
-ppc_ss.add(when: 'CONFIG_FDT_PPC', if_true: [files(
+ppc_ss.add(when: 'CONFIG_FDT', if_true: [files(
   'fdt.c',
 ), fdt])
 ppc_ss.add(when: 'CONFIG_FW_CFG_PPC', if_true: files('fw_cfg.c'))