From 44b7abf8dc953f935d1de067cdace9dae2cbfb3c Mon Sep 17 00:00:00 2001 From: Andre Przywara Date: Thu, 20 Oct 2022 23:10:25 +0100 Subject: 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 --- include/configs/highbank.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') diff --git a/include/configs/highbank.h b/include/configs/highbank.h index bb6cc957261..5e2b50bbac1 100644 --- a/include/configs/highbank.h +++ b/include/configs/highbank.h @@ -8,10 +8,6 @@ #define CONFIG_SYS_BOOTMAPSZ (16 << 20) -#define CONFIG_SYS_TIMER_RATE (150000000/256) -#define CONFIG_SYS_TIMER_COUNTER (0xFFF34000 + 0x4) -#define CONFIG_SYS_TIMER_COUNTS_DOWN - #define CONFIG_PL011_CLOCK 150000000 /* -- cgit v1.3.1