[coreboot] [PATCH]Make LPT ports configurable on various i945/ich7 boards

Stefan Reinauer stefan.reinauer at coreboot.org
Tue Jan 25 22:52:19 CET 2011


* Georgi, Patrick <Patrick.Georgi at secunet.com> [110125 08:59]:
> Hi,
> 
> attached patch adds a new CMOS variable which triggers activation of the
> LPT port. With the CMOS variable set, LPT is found by SeaBIOS, with the
> variable reset, it's not.
> 
> There's probably a better place for the code to end up in, but this has
> to do for now.
> 
> 
> Signed-off-by: Patrick Georgi <patrick.georgi at secunet.com>
Acked-by: Stefan Reinauer <stefan.reinauer at coreboot.org>


> +	if (read_option(CMOS_VSTART_lpt, CMOS_VLEN_lpt, 0) != 0) {

Do we want a wrapper like this?

#define read_cmos_option(option, default)       \
        read_option(CMOS_VSTART_##option, CMOS_VLEN_##option, default)


Stefan




More information about the coreboot mailing list