]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00174301 [mx6dl perfmon]add workaround for TKT055916
authorTony Lin <tony.lin@freescale.com>
Mon, 13 Feb 2012 03:10:48 +0000 (11:10 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:00 +0000 (08:34 +0200)
bit16 of GPR11 must be set to enable performance monitor

Signed-off-by: Tony Lin <tony.lin@freescale.com>
arch/arm/plat-mxc/devices/platform-imx-perfmon.c

index 518322a8ab66faacb8ca2d11e574336976a6d23b..56e262b39f110566daa67a7d6877236762217057 100644 (file)
@@ -86,8 +86,8 @@ static void platform_perfmon_init(void)
        if (init)
                return;
 
-       if (mx6q_revision() == IMX_CHIP_REVISION_1_0)
-               /* GPR11 bit[16] must be set for TO1.0, it's a bug */
+       if (mx6q_revision() == IMX_CHIP_REVISION_1_0 || cpu_is_mx6dl())
+               /* GPR11 bit[16] must be set for TO1.0(6q & 6dl), it's a bug */
                mxc_iomux_set_gpr_register(11, 16, 1, 1);
 
        mxc_iomux_set_gpr_register(11, 0, 1, 1);