video: restore CONFIG_VIDCONSOLE_AS_LCD as boolean
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 1 Jul 2020 12:56:10 +0000 (14:56 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 6 Jul 2020 20:30:00 +0000 (16:30 -0400)
commit27b5b9ec93a054e267f3513961bf47e6731722b1
tree5ca1e8d01bf8880c7405025acd53505b641ad0ae
parent6e7d7aa2e2062995c1cbc3af81cf40c04c50ad30
video: restore CONFIG_VIDCONSOLE_AS_LCD as boolean

This patch restores CONFIG_VIDCONSOLE_AS_LCD as boolean
and introduce a separate sting as CONFIG_VIDCONSOLE_AS_NAME
to search this string in stdout used as videoconsole.

This patch avoid issue with board defconfig or code expecting
CONFIG_VIDCONSOLE_AS_LCD as boolean.

Fixes: 22b897a12323 ("video: extend stdout video console work-around for 'vga'")
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
common/console.c
drivers/video/Kconfig