summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-01-11 03:42:09 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2014-01-12 12:07:36 +0100
commite4ac9c043a9bb0a6601bbdca1a99a3811f7c94d8 (patch)
tree09c4da9262f2ae1487be5f785ac1a43327eda484 /src/ec
parentcd4774084469ab44f2f6c3f195537e618e965db4 (diff)
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>
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/lenovo/h8/chip.h2
-rw-r--r--src/ec/lenovo/h8/h8.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/ec/lenovo/h8/chip.h b/src/ec/lenovo/h8/chip.h
index 6cb2f9bbc5..58313d4a2a 100644
--- a/src/ec/lenovo/h8/chip.h
+++ b/src/ec/lenovo/h8/chip.h
@@ -48,7 +48,5 @@ struct ec_lenovo_h8_config {
u8 eventf_enable;
u8 trackpoint_enable;
- u8 wlan_enable;
- u8 wwan_enable;
};
#endif
diff --git a/src/ec/lenovo/h8/h8.c b/src/ec/lenovo/h8/h8.c
index 213ede352b..8dfec0614c 100644
--- a/src/ec/lenovo/h8/h8.c
+++ b/src/ec/lenovo/h8/h8.c
@@ -174,7 +174,7 @@ 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(conf->wlan_enable);
+ h8_wlan_enable(1);
h8_trackpoint_enable(conf->trackpoint_enable);
h8_usb_power_enable(1);