[U-Boot] [PATCH V4 3/6] imx: mx6: hab : Remove the cache issue workaroud in hab for i.MX6QP

Stefano Babic sbabic at denx.de
Fri Jul 10 10:35:02 CEST 2015


On 30/06/2015 04:36, Peng Fan wrote:
> From: "Ye.Li" <B37916 at freescale.com>
> 
> Since the i.MX6QP has fixed the issue in boot ROM, so remove the workaround
> for i.MX6QP.
> 
> Signed-off-by: Ye.Li <B37916 at freescale.com>
> Signed-off-by: Peng Fan <Peng.Fan at freescale.com>
> ---
> 
> Changes v4:
>  none
> Changes v3:
>  none
> Changes v2:
>  none
> 
>  arch/arm/cpu/armv7/mx6/hab.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/cpu/armv7/mx6/hab.c b/arch/arm/cpu/armv7/mx6/hab.c
> index 8dee595..bf7dbf0 100644
> --- a/arch/arm/cpu/armv7/mx6/hab.c
> +++ b/arch/arm/cpu/armv7/mx6/hab.c
> @@ -252,7 +252,8 @@ uint32_t authenticate_image(uint32_t ddr_start, uint32_t image_size)
>  					 * do cache flushes. don't think any
>  					 * exist, so we ignore them.
>  					 */
> -					writel(1, MX6DQ_PU_IROM_MMU_EN_VAR);
> +					if (!is_mx6dqp())
> +						writel(1, MX6DQ_PU_IROM_MMU_EN_VAR);
>  				} else if (is_cpu_type(MXC_CPU_MX6DL) ||
>  					   is_cpu_type(MXC_CPU_MX6SOLO)) {
>  					writel(1, MX6DLS_PU_IROM_MMU_EN_VAR);
> 

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