]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Sun, 1 Mar 2015 22:34:18 +0000 (23:34 +0100)
commitbb401d9bb4959a88f3bbb4861fdadc7939cf4eeb
tree2813746aed0381dc1634f55751b226014eb12da8
parent2b14545fae3daa39f6b05c5ce32e956292303c87
ARM: DRA7: hwmod: Fix boot crash with DEBUG_LL enabled on UART3

commit 1c7e36bfc3e2fb2df5e2d1989a4b6fb9055a0f9b upstream.

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")
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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/arm/mach-omap2/omap_hwmod_7xx_data.c