[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for-9.2 13/53] hw/arm: Remove STRONGARM->PXA2XX dependency
From: |
Peter Maydell |
Subject: |
[PATCH for-9.2 13/53] hw/arm: Remove STRONGARM->PXA2XX dependency |
Date: |
Tue, 3 Sep 2024 17:07:11 +0100 |
Currently the STRONGARM KConfig symbol pulls in PXA2XX. Since we've now
removed all the true uses of PXA2XX, we'd like to remove the PXA2XX
symbol too. To permit that, make STRONGARM directly select the things
it truly depends on:
* pxa25x-timer
* SSI
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
hw/arm/Kconfig | 4 +++-
hw/timer/Kconfig | 3 +++
hw/timer/meson.build | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index c2452bd7b91..8f6cbf94855 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -175,6 +175,7 @@ config PXA2XX
select SSI
select USB_OHCI_SYSBUS
select PCMCIA
+ select PXA2XX_TIMER
config REALVIEW
bool
@@ -261,7 +262,8 @@ config STM32VLDISCOVERY
config STRONGARM
bool
- select PXA2XX
+ select PXA2XX_TIMER
+ select SSI
config COLLIE
bool
diff --git a/hw/timer/Kconfig b/hw/timer/Kconfig
index 61fbb62b65c..c96fd5d97ae 100644
--- a/hw/timer/Kconfig
+++ b/hw/timer/Kconfig
@@ -21,6 +21,9 @@ config ALLWINNER_A10_PIT
bool
select PTIMER
+config PXA2XX_TIMER
+ bool
+
config SIFIVE_PWM
bool
diff --git a/hw/timer/meson.build b/hw/timer/meson.build
index 80427852e02..3a78636ab45 100644
--- a/hw/timer/meson.build
+++ b/hw/timer/meson.build
@@ -24,7 +24,7 @@ system_ss.add(when: 'CONFIG_NPCM7XX', if_true:
files('npcm7xx_timer.c'))
system_ss.add(when: 'CONFIG_NRF51_SOC', if_true: files('nrf51_timer.c'))
system_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_gptimer.c'))
system_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_synctimer.c'))
-system_ss.add(when: 'CONFIG_PXA2XX', if_true: files('pxa2xx_timer.c'))
+system_ss.add(when: 'CONFIG_PXA2XX_TIMER', if_true: files('pxa2xx_timer.c'))
system_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2835_systmr.c'))
system_ss.add(when: 'CONFIG_SH_TIMER', if_true: files('sh_timer.c'))
system_ss.add(when: 'CONFIG_SLAVIO', if_true: files('slavio_timer.c'))
--
2.34.1
- [PATCH for-9.2 01/53] hw/arm: Remove deprecated akita, borzoi, spitz, terrier, tosa boards, (continued)
- [PATCH for-9.2 01/53] hw/arm: Remove deprecated akita, borzoi, spitz, terrier, tosa boards, Peter Maydell, 2024/09/03
- [PATCH for-9.2 04/53] hw/gpio: Remove MAX7310 device, Peter Maydell, 2024/09/03
- [PATCH for-9.2 05/53] hw/ide: Remove DSCM-1XXXX microdrive device model, Peter Maydell, 2024/09/03
- [PATCH for-9.2 06/53] hw/display: Remove tc6393xb device, Peter Maydell, 2024/09/03
- [PATCH for-9.2 07/53] hw/arm/KConfig: Replace ZAURUS with ZAURUS_SCOOP, Peter Maydell, 2024/09/03
- [PATCH for-9.2 08/53] hw/arm: Remove 'cheetah' machine, Peter Maydell, 2024/09/03
- [PATCH for-9.2 14/53] hw/timer/pxa2xx_timer: Remove use of pxa.h header, Peter Maydell, 2024/09/03
- [PATCH for-9.2 13/53] hw/arm: Remove STRONGARM->PXA2XX dependency,
Peter Maydell <=
- [PATCH for-9.2 11/53] hw/misc: Remove MAINSTONE_FPGA device, Peter Maydell, 2024/09/03
- [PATCH for-9.2 12/53] hw/arm: Remove 'z2' machine, Peter Maydell, 2024/09/03
- [PATCH for-9.2 16/53] hw/sd: Remove pxa2xx_mmci.c, Peter Maydell, 2024/09/03
- [PATCH for-9.2 10/53] hw/arm: Remove 'mainstone' machine, Peter Maydell, 2024/09/03
- [PATCH for-9.2 09/53] hw/arm: Remove 'connex' and 'verdex' machines, Peter Maydell, 2024/09/03