Message ID | 20220710151514.27207-4-daniel.schwierzeck@gmail.com |
---|---|
State | Deferred |
Delegated to: | Tom Rini |
Headers | show |
Series | Convert CONFIG_SYS_MIPS_TIMER_FREQ to Kconfig | expand |
On 10.07.22 17:15, Daniel Schwierzeck wrote: > 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> Thanks, Stefan > --- > > include/configs/vcoreiii.h | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/include/configs/vcoreiii.h b/include/configs/vcoreiii.h > index 78a62a8b02..5c5036b8be 100644 > --- a/include/configs/vcoreiii.h > +++ b/include/configs/vcoreiii.h > @@ -13,11 +13,9 @@ > #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 > Viele Grüße, Stefan Roese
diff --git a/include/configs/vcoreiii.h b/include/configs/vcoreiii.h index 78a62a8b02..5c5036b8be 100644 --- a/include/configs/vcoreiii.h +++ b/include/configs/vcoreiii.h @@ -13,11 +13,9 @@ #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
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> --- include/configs/vcoreiii.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)