[PATCH] video: restore CONFIG_VIDCONSOLE_AS_LCD as boolean

Simon Glass sjg at chromium.org
Fri Jul 3 05:50:24 CEST 2020


On Wed, 1 Jul 2020 at 06:56, Patrick Delaunay <patrick.delaunay at 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 at 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 at chromium.org>


More information about the U-Boot mailing list