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:
parent
add3f7fda2
commit
8e7e5254e4
|
@ -211,7 +211,11 @@ static void h8_enable(device_t dev)
|
||||||
ec_write(0x1f, conf->eventf_enable);
|
ec_write(0x1f, conf->eventf_enable);
|
||||||
|
|
||||||
ec_write(H8_FAN_CONTROL, H8_FAN_CONTROL_AUTO);
|
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_trackpoint_enable(conf->trackpoint_enable);
|
||||||
h8_usb_power_enable(1);
|
h8_usb_power_enable(1);
|
||||||
|
|
||||||
|
|
|
@ -110,6 +110,7 @@ entries
|
||||||
1060 1 e 1 touchpad
|
1060 1 e 1 touchpad
|
||||||
1061 1 e 1 bluetooth
|
1061 1 e 1 bluetooth
|
||||||
1062 1 e 1 wwan
|
1062 1 e 1 wwan
|
||||||
|
1063 1 e 1 wlan
|
||||||
1064 8 h 0 volume
|
1064 8 h 0 volume
|
||||||
1072 1 e 9 first_battery
|
1072 1 e 9 first_battery
|
||||||
1074 1 e 1 fn_ctrl_swap
|
1074 1 e 1 fn_ctrl_swap
|
||||||
|
|
|
@ -8,6 +8,7 @@ volume=0x3
|
||||||
first_battery=Primary
|
first_battery=Primary
|
||||||
bluetooth=Enable
|
bluetooth=Enable
|
||||||
wwan=Enable
|
wwan=Enable
|
||||||
|
wlan=Enable
|
||||||
touchpad=Enable
|
touchpad=Enable
|
||||||
fn_ctrl_swap=Disable
|
fn_ctrl_swap=Disable
|
||||||
sticky_fn=Disable
|
sticky_fn=Disable
|
||||||
|
|
|
@ -90,6 +90,7 @@ entries
|
||||||
412 1 e 1 bluetooth
|
412 1 e 1 bluetooth
|
||||||
413 1 e 1 wwan
|
413 1 e 1 wwan
|
||||||
414 1 e 1 touchpad
|
414 1 e 1 touchpad
|
||||||
|
415 1 e 1 wlan
|
||||||
417 1 e 1 fn_ctrl_swap
|
417 1 e 1 fn_ctrl_swap
|
||||||
418 1 e 1 sticky_fn
|
418 1 e 1 sticky_fn
|
||||||
419 1 e 1 power_management_beeps
|
419 1 e 1 power_management_beeps
|
||||||
|
|
|
@ -12,6 +12,7 @@ volume=0x3
|
||||||
tft_brightness=0xff
|
tft_brightness=0xff
|
||||||
first_battery=Primary
|
first_battery=Primary
|
||||||
bluetooth=Enable
|
bluetooth=Enable
|
||||||
|
wlan=Enable
|
||||||
fn_ctrl_swap=Disable
|
fn_ctrl_swap=Disable
|
||||||
sticky_fn=Disable
|
sticky_fn=Disable
|
||||||
power_management_beeps=Enable
|
power_management_beeps=Enable
|
||||||
|
|
|
@ -112,6 +112,7 @@ entries
|
||||||
1080 1 e 9 first_battery
|
1080 1 e 9 first_battery
|
||||||
1081 1 e 1 bluetooth
|
1081 1 e 1 bluetooth
|
||||||
1082 1 e 1 wwan
|
1082 1 e 1 wwan
|
||||||
|
1083 1 e 1 wlan
|
||||||
1085 1 e 1 fn_ctrl_swap
|
1085 1 e 1 fn_ctrl_swap
|
||||||
1086 1 e 1 sticky_fn
|
1086 1 e 1 sticky_fn
|
||||||
1087 1 e 1 power_management_beeps
|
1087 1 e 1 power_management_beeps
|
||||||
|
|
Loading…
Reference in New Issue