diff mbox series

[1/3] hw/Kconfig: Move the generic XLNX_ZYNQMP to the root hw/Kconfig

Message ID 20190427141459.19728-2-philmd@redhat.com (mailing list archive)
State New, archived
Headers show
Series hw/microblaze: Kconfig cleanup | expand

Commit Message

Philippe Mathieu-Daudé April 27, 2019, 2:14 p.m. UTC
The XLNX_ZYNQMP config is used in multiple subdirectories
(timer, intc). Move it to the root hw/Kconfig.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 hw/Kconfig       | 3 +++
 hw/timer/Kconfig | 3 ---
 2 files changed, 3 insertions(+), 3 deletions(-)

Comments

Alistair Francis April 29, 2019, 5:28 p.m. UTC | #1
On Sat, Apr 27, 2019 at 7:15 AM Philippe Mathieu-Daudé
<philmd@redhat.com> wrote:
>
> The XLNX_ZYNQMP config is used in multiple subdirectories
> (timer, intc). Move it to the root hw/Kconfig.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>

Alistair

> ---
>  hw/Kconfig       | 3 +++
>  hw/timer/Kconfig | 3 ---
>  2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/hw/Kconfig b/hw/Kconfig
> index 88b9f150070..c3c78f43eb5 100644
> --- a/hw/Kconfig
> +++ b/hw/Kconfig
> @@ -72,3 +72,6 @@ config XILINX
>  config XILINX_AXI
>      bool
>      select PTIMER # for hw/dma/xilinx_axidma.c
> +
> +config XLNX_ZYNQMP
> +    bool
> diff --git a/hw/timer/Kconfig b/hw/timer/Kconfig
> index 51921eb63f1..eefc95f35ec 100644
> --- a/hw/timer/Kconfig
> +++ b/hw/timer/Kconfig
> @@ -34,9 +34,6 @@ config TWL92230
>      bool
>      depends on I2C
>
> -config XLNX_ZYNQMP
> -    bool
> -
>  config ALTERA_TIMER
>      bool
>      select PTIMER
> --
> 2.20.1
>
>
diff mbox series

Patch

diff --git a/hw/Kconfig b/hw/Kconfig
index 88b9f150070..c3c78f43eb5 100644
--- a/hw/Kconfig
+++ b/hw/Kconfig
@@ -72,3 +72,6 @@  config XILINX
 config XILINX_AXI
     bool
     select PTIMER # for hw/dma/xilinx_axidma.c
+
+config XLNX_ZYNQMP
+    bool
diff --git a/hw/timer/Kconfig b/hw/timer/Kconfig
index 51921eb63f1..eefc95f35ec 100644
--- a/hw/timer/Kconfig
+++ b/hw/timer/Kconfig
@@ -34,9 +34,6 @@  config TWL92230
     bool
     depends on I2C
 
-config XLNX_ZYNQMP
-    bool
-
 config ALTERA_TIMER
     bool
     select PTIMER