* Georgi, Patrick <[email protected]> [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 <[email protected]>
Acked-by: Stefan Reinauer <[email protected]>


> +     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

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to