aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2011-02-25 08:38:27 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2011-03-01 08:19:52 -0500
commitb137214692effb1bc2221de8ccb11c09fb9df6f2 (patch)
tree8f645406572b0508ef8514186f4a3c2ad74434d8 /arch/arm/mach-mx5
parent2c4066cca46e2e82b63127a3dba5e5f68a612749 (diff)
cpuimx51sd: add cpufreq support
Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5')
-rw-r--r--arch/arm/mach-mx5/board-cpuimx51sd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/board-cpuimx51sd.c b/arch/arm/mach-mx5/board-cpuimx51sd.c
index f38b341ac405..6f5bcc1b38db 100644
--- a/arch/arm/mach-mx5/board-cpuimx51sd.c
+++ b/arch/arm/mach-mx5/board-cpuimx51sd.c
@@ -42,6 +42,7 @@
42 42
43#include "devices-imx51.h" 43#include "devices-imx51.h"
44#include "devices.h" 44#include "devices.h"
45#include "cpu_op-mx51.h"
45 46
46#define USBH1_RST IMX_GPIO_NR(2, 28) 47#define USBH1_RST IMX_GPIO_NR(2, 28)
47#define ETH_RST IMX_GPIO_NR(2, 31) 48#define ETH_RST IMX_GPIO_NR(2, 31)
@@ -274,6 +275,10 @@ static void __init eukrea_cpuimx51sd_init(void)
274 mxc_iomux_v3_setup_multiple_pads(eukrea_cpuimx51sd_pads, 275 mxc_iomux_v3_setup_multiple_pads(eukrea_cpuimx51sd_pads,
275 ARRAY_SIZE(eukrea_cpuimx51sd_pads)); 276 ARRAY_SIZE(eukrea_cpuimx51sd_pads));
276 277
278#if defined(CONFIG_CPU_FREQ_IMX)
279 get_cpu_op = mx51_get_cpu_op;
280#endif
281
277 imx51_add_imx_uart(0, &uart_pdata); 282 imx51_add_imx_uart(0, &uart_pdata);
278 imx51_add_mxc_nand(&eukrea_cpuimx51sd_nand_board_info); 283 imx51_add_mxc_nand(&eukrea_cpuimx51sd_nand_board_info);
279 284