imx: mx6: hab : Remove the cache issue workaroud in hab for i.MX6QP

Since the i.MX6QP has fixed the issue in boot ROM, so remove the workaround
for i.MX6QP.

Signed-off-by: Ye.Li <B37916@freescale.com>
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
Ye.Li 2015-07-11 11:38:44 +08:00 committed by Stefano Babic
parent e1c2d68b39
commit ec0f9530b1

View file

@ -423,7 +423,8 @@ uint32_t authenticate_image(uint32_t ddr_start, uint32_t image_size)
* do cache flushes. don't think any * do cache flushes. don't think any
* exist, so we ignore them. * 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) || } else if (is_cpu_type(MXC_CPU_MX6DL) ||
is_cpu_type(MXC_CPU_MX6SOLO)) { is_cpu_type(MXC_CPU_MX6SOLO)) {
writel(1, MX6DLS_PU_IROM_MMU_EN_VAR); writel(1, MX6DLS_PU_IROM_MMU_EN_VAR);