]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: DRA7: hwmod: Fix boot crash with DEBUG_LL enabled on UART3
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 8 Jan 2015 11:52:04 +0000 (17:22 +0530)
committerPaul Walmsley <paul@pwsan.com>
Wed, 21 Jan 2015 01:12:17 +0000 (18:12 -0700)
commit1c7e36bfc3e2fb2df5e2d1989a4b6fb9055a0f9b
tree76edf8c5d0a7ebdb083cd7a8845e2fc1a0145cf1
parent556708fe87188bb0e782d23792f0ce68c0694721
ARM: DRA7: hwmod: Fix boot crash with DEBUG_LL enabled on UART3

With commit '7dedd34: ARM: OMAP2+: hwmod: Fix a crash in _setup_reset()
with DEBUG_LL' we moved from parsing cmdline to identify uart used
for earlycon to using the requsite hwmod CONFIG_DEBUG_OMAPxUARTy FLAGS.

On DRA7 UART3 hwmod doesn't have this flag enabled, and atleast on
BeagleBoard-X15, where we use UART3 for console, boot fails with
DEBUG_LL enabled. Enable DEBUG_OMAP4UART3_FLAGS for UART3 hwmod.

For using DEBUG_LL, enable CONFIG_DEBUG_OMAP4UART3 in menuconfig.

Fixes: 90020c7b2c5e ("ARM: OMAP: DRA7: hwmod: Create initial DRA7XX SoC data")
Cc: <stable@vger.kernel.org> # v3.12+
Reviewed-by: Felipe Balbi <balbi@ti.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod_7xx_data.c