[U-Boot] [PATCH 07/21] imx: mx6ull: skip setting ahb clock
Stefano Babic
sbabic at denx.de
Thu Aug 11 10:38:46 CEST 2016
On 11/08/2016 08:02, Peng Fan wrote:
> Rom already initialized clock at 396M and 132M for arm core and ahb,
> so skip setting them again in U-Boot.
>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> Cc: Stefano Babic <sbabic at denx.de>
> ---
> arch/arm/cpu/armv7/mx6/soc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
> index 88fcfdc..af7fca5 100644
> --- a/arch/arm/cpu/armv7/mx6/soc.c
> +++ b/arch/arm/cpu/armv7/mx6/soc.c
> @@ -343,7 +343,7 @@ int arch_cpu_init(void)
> */
> init_bandgap();
>
> - if (!IS_ENABLED(CONFIG_MX6UL)) {
> + if (!is_mx6ul() && !is_mx6ull()) {
> /*
> * When low freq boot is enabled, ROM will not set AHB
> * freq, so we need to ensure AHB freq is 132MHz in such
>
Reviewed-by: Stefano Babic <sbabic at denx.de>
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
More information about the U-Boot
mailing list