[PATCH 3/4] MIPS: mscc: remove unused CPU_CLOCK_RATE

Stefan Roese sr at denx.de
Mon Jul 18 10:11:48 CEST 2022


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 at gmail.com>

Reviewed-by: Stefan Roese <sr at 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

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list