MIPS: mscc: remove unused CPU_CLOCK_RATE
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sun, 10 Jul 2022 15:15:13 +0000 (17:15 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 2 Nov 2022 20:42:32 +0000 (21:42 +0100)
CPU_CLOCK_RATE is just used once for CONFIG_SYS_MIPS_TIMER_FREQ
which is migrated to Kconfig in the next patch.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
include/configs/vcoreiii.h

index 78a62a8..5c5036b 100644 (file)
 #define CONFIG_SYS_INIT_SP_OFFSET       0x400000
 
 #if defined(CONFIG_SOC_LUTON) || defined(CONFIG_SOC_SERVAL)
-#define CPU_CLOCK_RATE                 416666666 /* Clock for the MIPS core */
 #define CONFIG_SYS_MIPS_TIMER_FREQ     208333333
 #else
-#define CPU_CLOCK_RATE                 500000000 /* Clock for the MIPS core */
-#define CONFIG_SYS_MIPS_TIMER_FREQ     (CPU_CLOCK_RATE / 2)
+#define CONFIG_SYS_MIPS_TIMER_FREQ     250000000
 #endif
 #define CONFIG_SYS_NS16550_CLK         CONFIG_SYS_MIPS_TIMER_FREQ