[PATCH 22/34] sunxi: Kconfig: consolidate SYS_CLK_FREQ selection
Jernej Škrabec
jernej.skrabec at gmail.com
Sun Mar 23 13:21:45 CET 2025
Dne nedelja, 23. marec 2025 ob 12:35:32 Srednjeevropski standardni čas je Andre Przywara napisal(a):
> Most Allwinner SoCs (used on 107 out of 172 boards) use a default CPU
> frequency of 1008 MHz during the initial setup in the SPL.
>
> Make this the fallback default, in case nothing else is selected, to
> simplify the Kconfig stanza and make future additions easier.
>
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
Acked-by: Jernej Skrabec <jernej.skrabec at gmail.com>
Best regards,
Jernej
> ---
> arch/arm/mach-sunxi/Kconfig | 10 ++--------
> 1 file changed, 2 insertions(+), 8 deletions(-)
>
> diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
> index 950b9047470..ab432390d3c 100644
> --- a/arch/arm/mach-sunxi/Kconfig
> +++ b/arch/arm/mach-sunxi/Kconfig
> @@ -716,16 +716,10 @@ endif
>
> config SYS_CLK_FREQ
> default 408000000 if MACH_SUNIV
> - default 1008000000 if MACH_SUN4I
> - default 1008000000 if MACH_SUN5I
> - default 1008000000 if MACH_SUN6I
> - default 912000000 if MACH_SUN7I
> default 816000000 if MACH_SUN50I || MACH_SUN50I_H5
> - default 1008000000 if MACH_SUN8I
> - default 1008000000 if MACH_SUN9I
> default 888000000 if MACH_SUN50I_H6
> - default 1008000000 if MACH_SUN50I_H616
> - default 1008000000 if MACH_SUN8I_R528
> + default 912000000 if MACH_SUN7I
> + default 1008000000
>
> config SYS_CONFIG_NAME
> default "suniv" if MACH_SUNIV
>
More information about the U-Boot
mailing list