ARM: DRA7: hwmod: Fix boot crash with DEBUG_LL
authorRajendra Nayak <rnayak@ti.com>
Thu, 12 Dec 2013 09:52:49 +0000 (15:22 +0530)
committerPaul Walmsley <paul@pwsan.com>
Thu, 26 Dec 2013 04:12:29 +0000 (21:12 -0700)
commit38958c15dc640a9249e4f0cd0dfb0ddc7a23464d
tree29bd8eb282ddf172b8faaf8ec845993ee4a41bac
parent374b105797c3d4f29c685f3be535c35f5689b30e
ARM: DRA7: hwmod: Fix boot crash with DEBUG_LL

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 though, we seem to be missing this flag, and atleast on the DRA7 EVM
where we use uart1 for console, boot fails with DEBUG_LL enabled.

Reported-by: Lokesh Vutla <lokeshvutla@ti.com>
Tested-by: Lokesh Vutla <lokeshvutla@ti.com> # on a different base
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Fixes: 7dedd346941d ("ARM: OMAP2+: hwmod: Fix a crash in _setup_reset() with DEBUG_LL")
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod_7xx_data.c