[U-Boot] [U-Boot-Users] [PATCH] Allow console input to be disabled
Haavard Skinnemoen
haavard.skinnemoen at atmel.com
Mon Aug 11 14:31:22 CEST 2008
Wolfgang Denk <wd at denx.de> wrote:
> > But I guess there's another side-effect from this patch which is
> > somewhat more nasty: The user can _also_ disable the debug port by
> > simply setting an environment variable. That might be a bad idea, and
> > probably not even necessary for Mark's purposes.
>
> Now you get it. That's what the whole discussion is about. See
> Detlev's posting that started it.
Right. I was only thinking about the original purpose of the patch and
forgot that the environment variable wasn't really a necessary part of
the solution.
> > So how about introducing a new flag, e.g. GD_FLG_DISABLE_CONSOLE, and
> > use that instead? If set, it will disable both input and output, while
> > GD_FLG_SILENT will just disable console output.
>
> Sounds much better to me.
Ok, great. Mark, does this sound good to you?
Haavard
More information about the U-Boot
mailing list