]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
hw/arm: Remove STRONGARM->PXA2XX dependency
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 3 Sep 2024 16:07:11 +0000 (17:07 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 1 Oct 2024 13:21:43 +0000 (14:21 +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>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240903160751.4100218-14-peter.maydell@linaro.org

hw/arm/Kconfig
hw/timer/Kconfig
hw/timer/meson.build

index c2452bd7b914d00b2ef9dedb45291fe8eea8c8ed..8f6cbf948553c4edcd9f6db8a33959b59dbd8562 100644 (file)
@@ -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
index 61fbb62b65cbfac5fbc5a2c703c90f29abb901fc..c96fd5d97ae829f4bdd6fff1d00ca3f04de2a8ed 100644 (file)
@@ -21,6 +21,9 @@ config ALLWINNER_A10_PIT
     bool
     select PTIMER
 
+config PXA2XX_TIMER
+    bool
+
 config SIFIVE_PWM
     bool
 
index 5b6c8b4be9e96932c8d6511f105fd842428c8ab2..c1113eb90b10b4eab83c23677f2a892a55f92e92 100644 (file)
@@ -23,7 +23,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'))