arm:omap:am335x: Enable JTAG clock by default
authorVaibhav Bedia <vaibhav.bedia@ti.com>
Thu, 13 Oct 2011 17:28:43 +0000 (22:58 +0530)
committerVaibhav Hiremath <hvaibhav@ti.com>
Mon, 23 Jan 2012 19:14:32 +0000 (00:44 +0530)
Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
arch/arm/configs/am335x_evm_defconfig
arch/arm/mach-omap2/omap_hwmod_33xx_data.c

index 4b0aa19921ebfcd04fa8ef15f25c6954dff35cec..ed8df31ebed2fa25bc99e97a70a4e65f6e84a149 100644 (file)
@@ -2122,6 +2122,7 @@ CONFIG_HAVE_ARCH_KGDB=y
 # CONFIG_ARM_UNWIND is not set
 # CONFIG_DEBUG_USER is not set
 # CONFIG_OC_ETM is not set
+CONFIG_DEBUG_JTAG_ENABLE=y
 
 #
 # Security options
index c847bc1d9c802d28520fd0bee7d4c77a873757fa..c8fe4334fdba0e6b5a2d734e751aebad3b2ef437 100644 (file)
@@ -441,6 +441,9 @@ static struct omap_hwmod am33xx_debugss_hwmod = {
                        .modulemode     = MODULEMODE_SWCTRL,
                },
        },
+#ifdef CONFIG_DEBUG_JTAG_ENABLE
+       .flags          = (HWMOD_INIT_NO_IDLE | HWMOD_INIT_NO_RESET),
+#endif
 };
 
 static struct omap_hwmod_class_sysconfig am33xx_elm_sysc = {