[coreboot] bluetooth on Thinkpad X60s
Patrick Georgi
patrick at georgi-clan.de
Tue May 1 17:18:27 CEST 2012
Am Dienstag, 1. Mai 2012 16:03:33 schrieb Motiejus Jakštys:
> - if (!get_option(&val, "bluetooth"))
> - h8_bluetooth_enable(val);
> + h8_bluetooth_enable(1);
> What would be a better way to do it?
val = 1;
get_option(&val, "bluetooth");
h8_bluetooth_enable(val);
get_option only updates the value pointed to by the first argument if
there's something to update to (CMOS use must be enabled _and_ CMOS
must contain valid data). Otherwise it's kept as is.
Regards,
Patrick
More information about the coreboot
mailing list