projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dc1e1bf
)
rk312x: enable jtag clk by rockchip_jtag_enabled
author
陈亮
<cl@rock-chips.com>
Fri, 12 Sep 2014 01:18:34 +0000
(18:18 -0700)
committer
陈亮
<cl@rock-chips.com>
Fri, 12 Sep 2014 01:19:48 +0000
(18:19 -0700)
Signed-off-by: 陈亮 <cl@rock-chips.com>
arch/arm/mach-rockchip/rk312x.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/rk312x.c
b/arch/arm/mach-rockchip/rk312x.c
index 5308c528c2b72ae0c330698f697c79d3d62f3c0c..d9e08033a7b075e05a15e9bf8e41211daf133faa 100755
(executable)
--- a/
arch/arm/mach-rockchip/rk312x.c
+++ b/
arch/arm/mach-rockchip/rk312x.c
@@
-358,6
+358,8
@@
static void __init rk312x_init_late(void)
#ifdef CONFIG_PM
rk321x_init_suspend();
#endif
#ifdef CONFIG_PM
rk321x_init_suspend();
#endif
+ if (rockchip_jtag_enabled)
+ clk_prepare_enable(clk_get_sys(NULL, "clk_jtag"));
}
static void rk312x_restart(char mode, const char *cmd)
}
static void rk312x_restart(char mode, const char *cmd)