On Tue, May 1, 2012 at 16:18, Patrick Georgi <[email protected]> wrote: > 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.
Thanks. Do I understand it correctly that you have just sent a valid patch which could be included? -- Motiejus Jakštys -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

