ec/lenovo/h8: Remove wlan_enable and wwan_enable from device tree.

wwan_enable was never used.
wlan_enable isn't something for device tree but for CMOS config if at all.

Change-Id: I765d9d6f0b73b7dc5a57c0c630a53b4b7a0b48cb
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/4651
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
Vladimir Serbinenko 2014-01-11 03:42:09 +01:00
parent cd47740844
commit e4ac9c043a
5 changed files with 1 additions and 6 deletions

View File

@ -48,7 +48,5 @@ struct ec_lenovo_h8_config {
u8 eventf_enable; u8 eventf_enable;
u8 trackpoint_enable; u8 trackpoint_enable;
u8 wlan_enable;
u8 wwan_enable;
}; };
#endif #endif

View File

@ -174,7 +174,7 @@ 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(conf->wlan_enable); h8_wlan_enable(1);
h8_trackpoint_enable(conf->trackpoint_enable); h8_trackpoint_enable(conf->trackpoint_enable);
h8_usb_power_enable(1); h8_usb_power_enable(1);

View File

@ -143,7 +143,6 @@ chip northbridge/intel/i945
register "eventd_enable" = "0xff" register "eventd_enable" = "0xff"
register "eventc_enable" = "0x3c" register "eventc_enable" = "0x3c"
register "wlan_enable" = "0x01"
register "trackpoint_enable" = "0x03" register "trackpoint_enable" = "0x03"
end end

View File

@ -73,7 +73,6 @@ chip northbridge/intel/nehalem
register "eventc_enable" = "0xff" register "eventc_enable" = "0xff"
register "eventd_enable" = "0xff" register "eventd_enable" = "0xff"
register "wlan_enable" = "0x01"
register "trackpoint_enable" = "0x03" register "trackpoint_enable" = "0x03"
end end

View File

@ -121,7 +121,6 @@ chip northbridge/intel/i945
register "eventc_enable" = "0xff" register "eventc_enable" = "0xff"
register "eventd_enable" = "0xff" register "eventd_enable" = "0xff"
register "wlan_enable" = "0x01"
register "trackpoint_enable" = "0x03" register "trackpoint_enable" = "0x03"
end end
chip superio/nsc/pc87382 chip superio/nsc/pc87382