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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2014 20:25:09 +0000 (12:25 -0800)
commitcf51b83ea17fb3320ea24319aff9ef749370a861
tree8307ec9c27de3744f27daf93a45eaaf1b83171cc
parent139517841b0e0e06d112ef084065ca8bc85de8c1
ARM: DRA7: hwmod: Fix boot crash with DEBUG_LL

commit 38958c15dc640a9249e4f0cd0dfb0ddc7a23464d 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 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-omap2/omap_hwmod_7xx_data.c