diff options
author | Shawn Guo <shawn.guo@freescale.com> | 2014-05-19 21:15:03 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-07-18 16:10:07 +0800 |
commit | 1f84e906f86968333eb00ed88b7f7e7a37b17589 (patch) | |
tree | cf85bcf336a55189abfaba29b377a8012f53e9d1 /arch/arm/mach-imx/clk-imx51-imx53.c | |
parent | c23f82a70c8ca89f5fae1a8f8e927cc257fb19f7 (diff) | |
download | op-kernel-dev-1f84e906f86968333eb00ed88b7f7e7a37b17589.zip op-kernel-dev-1f84e906f86968333eb00ed88b7f7e7a37b17589.tar.gz |
ARM: imx5: call mxc_timer_init_dt() on imx51
Since i.MX51 supports DT only, it's more appropriate to call
mxc_timer_init_dt() than mxc_timer_init() to initialize timer.
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx/clk-imx51-imx53.c')
-rw-r--r-- | arch/arm/mach-imx/clk-imx51-imx53.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/clk-imx51-imx53.c b/arch/arm/mach-imx/clk-imx51-imx53.c index 67f686e..972b24c 100644 --- a/arch/arm/mach-imx/clk-imx51-imx53.c +++ b/arch/arm/mach-imx/clk-imx51-imx53.c @@ -449,7 +449,7 @@ static void __init mx51_clocks_init(struct device_node *np) clk_set_rate(clk[IMX5_CLK_ESDHC_B_PODF], 166250000); /* System timer */ - mxc_timer_init(MX51_IO_ADDRESS(MX51_GPT1_BASE_ADDR), MX51_INT_GPT); + mxc_timer_init_dt(of_find_compatible_node(NULL, NULL, "fsl,imx51-gpt")); clk_prepare_enable(clk[IMX5_CLK_IIM_GATE]); imx_print_silicon_rev("i.MX51", mx51_revision()); |