[LinuxBIOS] [PATCH] VGA is used before it is initialized

Stefan Reinauer stefan.reinauer at coresystems.de
Wed Jan 31 20:52:17 CET 2007


Roman Kononov wrote:
> Related question:
> 
> If I say CONFIG_PCI_ROM_RUN=1 and CONFIG_CONSOLE_VGA=0,
> why does it skip VGA initialization?
> 
> The rational here is that I may need a lot of debugging
> output, but I do not want it to be directed to the VGA,
> because it is almost useless on the VGA and the users are
> scared. In the same time I need the VGA to be initialized
> so that payloads can use it.
> 
> I would make it so that the VGA is initialized if either
> flag is set. Anything else is initialized only on
> CONFIG_PCI_ROM_RUN.

This sounds reasonable. Is it enough to not set vga_inited if
CONFIG_CONSOLE_VGA=0 ?




More information about the coreboot mailing list