]> git.sur5r.net Git - u-boot/commitdiff
imx: mx6: hab : Remove the cache issue workaroud in hab for i.MX6QP
authorYe.Li <B37916@freescale.com>
Sat, 11 Jul 2015 03:38:44 +0000 (11:38 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 2 Aug 2015 08:45:41 +0000 (10:45 +0200)
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>
arch/arm/cpu/armv7/mx6/hab.c

index 87f422d03968bbda6134033d1cfd2c480ee92200..27cabe477d9e05e3d433eafdf5ee7d8b2448d8ec 100644 (file)
@@ -423,7 +423,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);