[PATCH 10/24] video: Enable VIDEO_ANSI by default only with EFI

Simon Glass sjg at chromium.org
Wed Oct 19 15:18:04 CEST 2022


Hi Heinrich,

On Mon, 17 Oct 2022 at 16:08, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> On 10/17/22 22:29, Simon Glass wrote:
> > This is not generally needed unless EFI_LOADER is used. Adjust the default
> > setting to reduce the size of the U-Boot build.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> >   drivers/video/Kconfig | 7 +++++--
> >   1 file changed, 5 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
> > index 32938376655..ed77815504b 100644
> > --- a/drivers/video/Kconfig
> > +++ b/drivers/video/Kconfig
> > @@ -118,10 +118,13 @@ config VIDEO_BPP32
> >   config VIDEO_ANSI
> >       bool "Support ANSI escape sequences in video console"
> >       depends on DM_VIDEO
> > -     default y
> > +     default y if EFI_LOADER
>
> This will cripple the CLS command.

I can add that as a dependency.

I actually don't like using cls as it makes debugging hard. You can't
see the previous output on the terminal!

Regards,
Simon


More information about the U-Boot mailing list