[U-Boot] [PATCH 1/3] ARM: i.MX6: exclude the ARM errata from i.MX6 UP system

Stefano Babic sbabic at denx.de
Tue Aug 8 08:49:55 UTC 2017


Hi Peng,

On 08/08/2017 07:34, Peng Fan wrote:
> The ARM errata 751472, 794072, 761320 only applied
> to the following configuration:
> 
> This erratum affects configurations with either:
> - One processor if the ACP is present
> - Two or more processors
> 

Apart that I agree that such as work-around should be applied just to
the affected SOCs, which is the issues to apply them to the whole MX6
family ?

For example, 751472 requires to set CP15 bit 11 with a specific
sequence. Right, single core MX6 do not need it, but even if this is set
in this way, is there a side-effect ? Just curious...

> i.MX6 family does not have the ACP and thus only the MPCore system
> will be impacted, which are the i.MX6DQ, i.MX6DL, and i.MX6QP.
> 
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Fabio Estevam <fabio.estevam at nxp.com>
> ---
>  arch/arm/mach-imx/mx6/Kconfig | 15 +++++++++++----
>  1 file changed, 11 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/mach-imx/mx6/Kconfig b/arch/arm/mach-imx/mx6/Kconfig
> index bb2ce33..2be67e1 100644
> --- a/arch/arm/mach-imx/mx6/Kconfig
> +++ b/arch/arm/mach-imx/mx6/Kconfig
> @@ -1,24 +1,31 @@
>  if ARCH_MX6
>  
> +config MX6_SMP
> +	select ARM_ERRATA_751472
> +	select ARM_ERRATA_761320
> +	select ARM_ERRATA_794072
> +	bool
> +
>  config MX6
> +	select ARM_ERRATA_743622 if !MX6UL
>  	bool
>  	default y
> -	select ARM_ERRATA_743622 if !MX6UL
> -	select ARM_ERRATA_751472 if !MX6UL
> -	select ARM_ERRATA_761320 if !MX6UL
> -	select ARM_ERRATA_794072 if !MX6UL
>  	imply CMD_FUSE
>  
>  config MX6D
> +	select MX6_SMP
>  	bool
>  
>  config MX6DL
> +	select MX6_SMP
>  	bool
>  
>  config MX6Q
> +	select MX6_SMP
>  	bool
>  
>  config MX6QDL
> +	select MX6_SMP
>  	bool
>  
>  config MX6S
> 

Best regards,
Stefano

-- 
=====================================================================
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