3036: for jtag clk
authorwdc <wdc@rock-chips.com>
Thu, 3 Jul 2014 10:24:18 +0000 (18:24 +0800)
committerwdc <wdc@rock-chips.com>
Thu, 3 Jul 2014 10:24:18 +0000 (18:24 +0800)
arch/arm/mach-rockchip/rk3036.c

index f0515512eaeb76511046d5479dc3d199a4e80212..c9d21e7b8be1b81c9b4e3372787e17a79d9aad7c 100644 (file)
@@ -135,6 +135,8 @@ static void __init rk3036_dt_init_timer(void)
 
 static void __init rk3036_init_late(void)
 {
+    if (rockchip_jtag_enabled)
+       clk_prepare_enable(clk_get_sys(NULL, "clk_jtag"));
     return;
 }