]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit55c854a8fe705d430c1ab22823a2ac0bf888203d
treef5d3c710bc1954e8d341d63dc9f9ae0d44ee8a3b
parent8b24a127bd7b4c4f186115375f00444c342392de
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