From: Vaibhav Bedia Date: Thu, 13 Oct 2011 17:28:43 +0000 (+0530) Subject: arm:omap:am335x: Enable JTAG clock by default X-Git-Url: https://git.ti.com/gitweb?p=sitara-epos%2Fsitara-epos-kernel.git;a=commitdiff_plain;h=ae7071fb6b4a45e805b15cb143746095e322cf2e;hp=05ce4a9263f6b5f00142cf4d44aaab83c1dbe67c arm:omap:am335x: Enable JTAG clock by default Signed-off-by: Vaibhav Bedia Signed-off-by: Vaibhav Hiremath --- diff --git a/arch/arm/configs/am335x_evm_defconfig b/arch/arm/configs/am335x_evm_defconfig index 4b0aa19921eb..ed8df31ebed2 100644 --- a/arch/arm/configs/am335x_evm_defconfig +++ b/arch/arm/configs/am335x_evm_defconfig @@ -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 diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c index c847bc1d9c80..c8fe4334fdba 100644 --- a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c @@ -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 = {