1This patch keeps the debugSS clock alive, it clocks the JTAG macro and enables
2access to the SoC via JTAG after the kernel booted.
3
4Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
5---
6diff -Naur linux-orig/arch/arm/mach-omap2/omap_hwmod_33xx_data.c linux-52c4aa7cdb93d61f8008f380135beaf7b8fa6593/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
7--- linux-orig/arch/arm/mach-omap2/omap_hwmod_33xx_data.c	2015-10-02 17:30:56.000000000 +0200
8+++ linux-52c4aa7cdb93d61f8008f380135beaf7b8fa6593/arch/arm/mach-omap2/omap_hwmod_33xx_data.c	2016-08-15 11:28:55.017617612 +0200
9@@ -208,6 +208,7 @@
10 	.name		= "debugss",
11 	.class		= &am33xx_debugss_hwmod_class,
12 	.clkdm_name	= "l3_aon_clkdm",
13+	.flags		= (HWMOD_INIT_NO_IDLE|HWMOD_INIT_NO_RESET), /* keep debugSS clock alive for JTAG */
14 	.main_clk	= "trace_clk_div_ck",
15 	.prcm		= {
16 		.omap4	= {
17