ec/lenovo/h8: make wlan config a CMOS option
To stay in line with wwan and bluetooth. Change-Id: Iafe2dc97fc2aec5c2ad1834659b796a6b079c1bc Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/4652 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
@ -211,7 +211,11 @@ static void h8_enable(device_t dev)
|
||||
ec_write(0x1f, conf->eventf_enable);
|
||||
|
||||
ec_write(H8_FAN_CONTROL, H8_FAN_CONTROL_AUTO);
|
||||
h8_wlan_enable(1);
|
||||
|
||||
if (get_option(&val, "wlan") != CB_SUCCESS)
|
||||
val = 1;
|
||||
h8_wlan_enable(val);
|
||||
|
||||
h8_trackpoint_enable(conf->trackpoint_enable);
|
||||
h8_usb_power_enable(1);
|
||||
|
||||
|
Reference in New Issue
Block a user