summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorArnaud Patard (Rtp) <arnaud.patard@rtp-net.org>2011-02-17 15:31:31 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-02-18 10:56:39 +0100
commit856e656c4a328907c2b1fdbb6523f16fe1c71b46 (patch)
treedf923c665051e8d8b55cfebe0d85372bbe9fb11a /arch
parent2432cff0fc1c9d1a41476994b18fda04bf9f2686 (diff)
efika: enable cpufreq
Enable cpufreq on Genesi efika platforms Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mx5/mx51_efika.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/mx51_efika.c b/arch/arm/mach-mx5/mx51_efika.c
index b4d5ae913ff..74991c913bf 100644
--- a/arch/arm/mach-mx5/mx51_efika.c
+++ b/arch/arm/mach-mx5/mx51_efika.c
@@ -47,6 +47,7 @@
#include "devices-imx51.h"
#include "devices.h"
#include "efika.h"
+#include "cpu_op-mx51.h"
#define MX51_USB_CTRL_1_OFFSET 0x10
#define MX51_USB_CTRL_UH1_EXT_CLK_EN (1 << 25)
@@ -627,5 +628,9 @@ void __init efika_board_common_init(void)
spi_register_board_info(mx51_efika_spi_board_info,
ARRAY_SIZE(mx51_efika_spi_board_info));
imx51_add_ecspi(0, &mx51_efika_spi_pdata);
+
+#if defined(CONFIG_CPU_FREQ_IMX)
+ get_cpu_op = mx51_get_cpu_op;
+#endif
}