
On Wed, 1 Jul 2020 at 06:56, Patrick Delaunay patrick.delaunay@st.com wrote:
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'") Signed-off-by: Patrick Delaunay patrick.delaunay@st.com
Hi,
It is fix for stm32mp157c-ev1 boot on next branch.
The option names are not perfect but it is only a temporarily work around (up to end of 2020).
You can see other example of boolean and string in Kconfig = config USE_BOOTCOMMAND config BOOTCOMMAND
I think the correct name could be:
- CONFIG_USE_VIDCONSOLE_AS_NAME
- CONFIG_VIDCONSOLE_AS_NAME
but these name need to modify many file for a fix on a workaround CONFIG.
Regards,
Patrick
common/console.c | 6 +++--- drivers/video/Kconfig | 12 +++++++++++- 2 files changed, 14 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org