summaryrefslogtreecommitdiff
path: root/arch/arm/plat-mxc/devices
diff options
context:
space:
mode:
authorTony Lin <tony.lin@freescale.com>2012-02-13 11:10:48 +0800
committerJason Liu <r64343@freescale.com>2012-07-20 13:22:38 +0800
commit5f5507b4d6c6192b341d7b5b3f0f36fea073cbcb (patch)
treedc424597e165f555d39b41e48844bcb4d4e0166a /arch/arm/plat-mxc/devices
parent1b76acc03baeee86d46221cf58b3fe874607c612 (diff)
downloadlinux-5f5507b4d6c6192b341d7b5b3f0f36fea073cbcb.tar.gz
ENGR00174301 [mx6dl perfmon]add workaround for TKT055916
bit16 of GPR11 must be set to enable performance monitor Signed-off-by: Tony Lin <tony.lin@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc/devices')
-rw-r--r--arch/arm/plat-mxc/devices/platform-imx-perfmon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-imx-perfmon.c b/arch/arm/plat-mxc/devices/platform-imx-perfmon.c
index 518322a8ab66..56e262b39f11 100644
--- a/arch/arm/plat-mxc/devices/platform-imx-perfmon.c
+++ b/arch/arm/plat-mxc/devices/platform-imx-perfmon.c
@@ -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);