OSDN Git Service

ARM: OMAP2+: omap_hwmod: Add support for earlycon
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 20 Jan 2017 18:39:10 +0000 (10:39 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 20 Jan 2017 18:39:10 +0000 (10:39 -0800)
commit8dd6666f4937d7cc94781771e1a8fc837fea84fb
treef5d3c710bc1954e8d341d63dc9f9ae0d44ee8a3b
parent7afa44e0e8dbf80e28e4f5aeaecf5ab6e5487f0d
ARM: OMAP2+: omap_hwmod: Add support for earlycon

Hwmod core tries to reset and idles each IP that is registered with hwmod.
In case of earlycon, that specific uart IP cannot be reset or keep it in
idle state else earlycon hangs once hwmod resets that uart IP. So add support
to not reset uart that is being used as earlycon only if CONFIG_SERIAL_EARLYCON
is enabled.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod.c