arm: kirkwood: make it CONFIG_TIMER aware
authorMichael Walle <michael@walle.cc>
Wed, 17 Aug 2022 19:37:50 +0000 (21:37 +0200)
committerStefan Roese <sr@denx.de>
Tue, 23 Aug 2022 10:38:54 +0000 (12:38 +0200)
commit78c9b85df825f95c9b83a8d4b08c4ea75e8abc1a
treeb0007e7abe5e43e5214f9f362357b2cff8d9ea0a
parentf395cf9cacb1c54f95bce09473e37b8ac2b5517d
arm: kirkwood: make it CONFIG_TIMER aware

If we switch to CONFIG_TIMER, we don't need the legacy timer macros and
functions anymore. Add the proper guards to exclude them from compiling.

Cc: Pali Rohár <pali@kernel.org>
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-kirkwood/include/mach/config.h
arch/arm/mach-mvebu/Makefile