diff options
author | Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> | 2011-02-17 09:31:31 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-02-18 04:56:39 -0500 |
commit | 856e656c4a328907c2b1fdbb6523f16fe1c71b46 (patch) | |
tree | df923c665051e8d8b55cfebe0d85372bbe9fb11a /arch/arm/mach-mx5/mx51_efika.c | |
parent | 2432cff0fc1c9d1a41476994b18fda04bf9f2686 (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/arm/mach-mx5/mx51_efika.c')
-rw-r--r-- | arch/arm/mach-mx5/mx51_efika.c | 5 |
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 b4d5ae913ff8..74991c913bf6 100644 --- a/arch/arm/mach-mx5/mx51_efika.c +++ b/arch/arm/mach-mx5/mx51_efika.c | |||
@@ -47,6 +47,7 @@ | |||
47 | #include "devices-imx51.h" | 47 | #include "devices-imx51.h" |
48 | #include "devices.h" | 48 | #include "devices.h" |
49 | #include "efika.h" | 49 | #include "efika.h" |
50 | #include "cpu_op-mx51.h" | ||
50 | 51 | ||
51 | #define MX51_USB_CTRL_1_OFFSET 0x10 | 52 | #define MX51_USB_CTRL_1_OFFSET 0x10 |
52 | #define MX51_USB_CTRL_UH1_EXT_CLK_EN (1 << 25) | 53 | #define MX51_USB_CTRL_UH1_EXT_CLK_EN (1 << 25) |
@@ -627,5 +628,9 @@ void __init efika_board_common_init(void) | |||
627 | spi_register_board_info(mx51_efika_spi_board_info, | 628 | spi_register_board_info(mx51_efika_spi_board_info, |
628 | ARRAY_SIZE(mx51_efika_spi_board_info)); | 629 | ARRAY_SIZE(mx51_efika_spi_board_info)); |
629 | imx51_add_ecspi(0, &mx51_efika_spi_pdata); | 630 | imx51_add_ecspi(0, &mx51_efika_spi_pdata); |
631 | |||
632 | #if defined(CONFIG_CPU_FREQ_IMX) | ||
633 | get_cpu_op = mx51_get_cpu_op; | ||
634 | #endif | ||
630 | } | 635 | } |
631 | 636 | ||