summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAndre Przywara <[email protected]>2022-10-20 23:10:25 +0100
committerTom Rini <[email protected]>2022-11-02 13:58:17 -0400
commit44b7abf8dc953f935d1de067cdace9dae2cbfb3c (patch)
tree185031a7854e2e0bcc0c28db30f74c3827ed8138 /arch
parent4849e2edf46c39a91a3c730daf12558796590e58 (diff)
highbank: switch to use the Arm SP804 DM_TIMER driver
So far the Calxeda machines were using the CONFIG_SYS_TIMER_* macros to simply hardcode the address of the counter register of the SP804 timer. This method is deprecated and scheduled for removal. Use the newly introduced SP804 DM_TIMER driver to provide timer functionality on Highbank and Midway machines. The base address and base frequency are taken from the devicetree. Signed-off-by: Andre Przywara <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 710f171f87e..453bef900e8 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -769,6 +769,8 @@ config ARCH_HIGHBANK
select AHCI
select DM_ETH
select PHYS_64BIT
+ select TIMER
+ select SP804_TIMER
imply OF_HAS_PRIOR_STAGE
config ARCH_INTEGRATOR