timer: fttmr010_timer: Remove unused driver
PATCH 1/2 timer: fttmr010_timer: Remove unused driver
This driver is unused. Remove it.
Signed-off-by Tom Rini <[email protected]>
--- drivers/timer/Kconfig | 7 --- drivers/timer/Makefile | 1 - drivers/timer/fttmr010_timer.c | 91 ---------------------------------- include/faraday/fttmr010.h | 61 ----------------------- 4 files changed, 160 deletions(-) delete mode 100644 drivers/timer/fttmr010_timer.c delete mode 100644 include/faraday/fttmr010.h
drivers/timer/Kconfig +0 -7
@@ -166,13 +166,6 @@ config DESIGNWARE_APB_TIMER Enables support for the Designware APB Timer driver. This timer is present on Altera SoCFPGA SoCs. -config FTTMR010_TIMER - bool "Faraday Technology timer support" - depends on TIMER - help - Select this to enable support for the timer found on - devices using Faraday Technology's IP. - config GXP_TIMER bool "HPE GXP Timer" depends on TIMER
drivers/timer/Makefile +0 -1
@@ -15,7 +15,6 @@ obj-$(CONFIG_$(PHASE_)ATMEL_PIT_TIMER) += atmel_pit_timer.o obj-$(CONFIG_$(PHASE_)ATMEL_TCB_TIMER) += atmel_tcb_timer.o obj-$(CONFIG_CADENCE_TTC_TIMER) += cadence-ttc.o obj-$(CONFIG_DESIGNWARE_APB_TIMER) += dw-apb-timer.o -obj-$(CONFIG_FTTMR010_TIMER) += fttmr010_timer.o obj-$(CONFIG_GXP_TIMER) += gxp-timer.o obj-$(CONFIG_MPC83XX_TIMER) += mpc83xx_timer.o obj-$(CONFIG_NOMADIK_MTU_TIMER) += nomadik-mtu-timer.o
drivers/timer/fttmr010_timer.c deleted +0 -91
91 lines not on this page · raw message
include/faraday/fttmr010.h deleted +0 -61
61 lines not on this page · raw message
Signature · 1 line
2.43.0
PATCH 2/2 timer: Tighten some timer driver dependencies
A few timer drivers cannot build without access to some platform specific header files. Express those requirements in Kconfig as well.
Signed-off-by Tom Rini <[email protected]>
--- drivers/timer/Kconfig | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-)
drivers/timer/Kconfig +11 -18
@@ -96,8 +96,8 @@ config ARM_TWD_TIMER config AST_TIMER bool "Aspeed ast2400/ast2500 timer support" - depends on TIMER - default y if ARCH_ASPEED + depends on TIMER && ARCH_ASPEED + default y help Select this to enable timer for Aspeed ast2400/ast2500 devices. This is a simple sys timer driver, it is compatible with lib/time.c,
@@ -108,17 +108,10 @@ config AST_TIMER config AST_IBEX_TIMER bool "Aspeed ast2700 Ibex timer" - depends on TIMER + depends on TIMER && RISCV help Select this to enable a timer support for the Ibex RV32-based MCUs in AST2700. -config ATCPIT100_TIMER - bool "ATCPIT100 timer support" - depends on TIMER - help - Select this to enable a ATCPIT100 timer which will be embedded - in AE3XX, AE250 boards. - config ATMEL_PIT_TIMER bool "Atmel periodic interval timer support" depends on TIMER
@@ -161,7 +154,7 @@ config CADENCE_TTC_TIMER config DESIGNWARE_APB_TIMER bool "Designware APB Timer" - depends on TIMER + depends on TIMER && (ARCH_SOCFPGA || ARCH_ROCKCHIP) help Enables support for the Designware APB Timer driver. This timer is present on Altera SoCFPGA SoCs.
@@ -175,7 +168,7 @@ config GXP_TIMER config MPC83XX_TIMER bool "MPC83xx timer support" - depends on TIMER + depends on TIMER && PPC help Select this to enable support for the timer found on devices based on the MPC83xx family of SoCs.
@@ -217,14 +210,14 @@ config NPCM_TIMER config OMAP_TIMER bool "Omap timer support" - depends on TIMER + depends on TIMER && (ARCH_OMAP2PLUS || ARCH_K3) help Select this to enable an timer for Omap devices. config ORION_TIMER bool "Orion timer support" - depends on TIMER - default y if ARCH_KIRKWOOD || (ARCH_MVEBU && ARMADA_32BIT) + depends on TIMER && (ARCH_KIRKWOOD || (ARCH_MVEBU && ARMADA_32BIT)) + default y select TIMER_EARLY if ARCH_MVEBU help Select this to enable an timer for Orion and Armada devices
@@ -239,7 +232,7 @@ config RISCV_TIMER config ROCKCHIP_TIMER bool "Rockchip timer support" - depends on TIMER + depends on TIMER && ARCH_ROCKCHIP help Select this to enable support for the timer found on Rockchip devices.
@@ -268,14 +261,14 @@ config SP804_TIMER config STM32_TIMER bool "STM32 timer support" - depends on TIMER + depends on TIMER && ARCH_STM32 help Select this to enable support for the timer found on STM32 devices. config TEGRA_TIMER bool "Tegra timer support" - depends on TIMER + depends on TIMER && ARCH_TEGRA select TIMER_EARLY help Select this to enable support for the timer found on
Signature · 1 line
2.43.0
Quoted 3 lines · Tom Rini
This driver is unused. Remove it.
Applied to u-boot/next, thanks!
[1/2] timer: fttmr010_timer: Remove unused driver
commit: cb76b208390d98658fc8e97c28dc0080a65c63bc
[2/2] timer: Tighten some timer driver dependencies
commit: 3f486367bc8ba415fa0acbe72e57bfbfe3ffaca1Signature · 1 line
Tom