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>
This commit is contained in:
parent
2432cff0fc
commit
856e656c4a
1 changed files with 5 additions and 0 deletions
|
@ -47,6 +47,7 @@
|
||||||
#include "devices-imx51.h"
|
#include "devices-imx51.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
#include "efika.h"
|
#include "efika.h"
|
||||||
|
#include "cpu_op-mx51.h"
|
||||||
|
|
||||||
#define MX51_USB_CTRL_1_OFFSET 0x10
|
#define MX51_USB_CTRL_1_OFFSET 0x10
|
||||||
#define MX51_USB_CTRL_UH1_EXT_CLK_EN (1 << 25)
|
#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,
|
spi_register_board_info(mx51_efika_spi_board_info,
|
||||||
ARRAY_SIZE(mx51_efika_spi_board_info));
|
ARRAY_SIZE(mx51_efika_spi_board_info));
|
||||||
imx51_add_ecspi(0, &mx51_efika_spi_pdata);
|
imx51_add_ecspi(0, &mx51_efika_spi_pdata);
|
||||||
|
|
||||||
|
#if defined(CONFIG_CPU_FREQ_IMX)
|
||||||
|
get_cpu_op = mx51_get_cpu_op;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue