projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c23f82a
)
ARM: imx5: call mxc_timer_init_dt() on imx51
author
Shawn Guo
<shawn.guo@freescale.com>
Mon, 19 May 2014 13:15:03 +0000
(21:15 +0800)
committer
Shawn Guo
<shawn.guo@freescale.com>
Fri, 18 Jul 2014 08:10:07 +0000
(16:10 +0800)
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>
arch/arm/mach-imx/clk-imx51-imx53.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-imx/clk-imx51-imx53.c
b/arch/arm/mach-imx/clk-imx51-imx53.c
index 67f686e4fed6e696e902e9155dacdc4440493d5c..972b24c754b00f3955a18d58f26ce8b02d5c814c 100644
(file)
--- 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());