summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorEric Sun <jian.sun@freescale.com>2012-08-20 20:51:25 +0800
committerEric Nelson <eric.nelson@boundarydevices.com>2012-08-28 09:51:27 -0700
commitae6b0999b1c16bd934d8c698dadcdc91766cd79d (patch)
tree3a324ab405cd21ecb87c219a77c1bc6a96e05933 /arch
parentd3e04bdac8d080a4954bb9d457280193849c1db0 (diff)
ENGR00217687 [MX6SL_ARM2/EVK] Fix no perfmon directory
The problem is caused because the board init routine don't add the corresponding device node. Problem resolved after add them Signed-off-by: Eric Sun <jian.sun@freescale.com>
Diffstat (limited to 'arch')
-rwxr-xr-xarch/arm/mach-mx6/board-mx6sl_arm2.c4
-rw-r--r--arch/arm/mach-mx6/board-mx6sl_evk.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-mx6/board-mx6sl_arm2.c b/arch/arm/mach-mx6/board-mx6sl_arm2.c
index 8f05702e74aa..1d76abb8a0b1 100755
--- a/arch/arm/mach-mx6/board-mx6sl_arm2.c
+++ b/arch/arm/mach-mx6/board-mx6sl_arm2.c
@@ -1254,6 +1254,10 @@ static void __init mx6_arm2_init(void)
imx6sl_add_dcp();
imx6sl_add_rngb();
+ imx6q_add_perfmon(0);
+ imx6q_add_perfmon(1);
+ imx6q_add_perfmon(2);
+
pm_power_off = mx6_snvs_poweroff;
}
diff --git a/arch/arm/mach-mx6/board-mx6sl_evk.c b/arch/arm/mach-mx6/board-mx6sl_evk.c
index 62daad6d867b..7ef077f91cfc 100644
--- a/arch/arm/mach-mx6/board-mx6sl_evk.c
+++ b/arch/arm/mach-mx6/board-mx6sl_evk.c
@@ -1266,6 +1266,10 @@ static void __init mx6_evk_init(void)
imx6sl_add_dcp();
imx6sl_add_rngb();
+ imx6q_add_perfmon(0);
+ imx6q_add_perfmon(1);
+ imx6q_add_perfmon(2);
+
pm_power_off = mx6_snvs_poweroff;
}