summaryrefslogtreecommitdiff
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
parentcd4774084469ab44f2f6c3f195537e618e965db4 (diff)
downloadcoreboot-e4ac9c043a9bb0a6601bbdca1a99a3811f7c94d8.tar.xz
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>
-rw-r--r--src/ec/lenovo/h8/chip.h2
-rw-r--r--src/ec/lenovo/h8/h8.c2
-rw-r--r--src/mainboard/lenovo/t60/devicetree.cb1
-rw-r--r--src/mainboard/lenovo/x201/devicetree.cb1
-rw-r--r--src/mainboard/lenovo/x60/devicetree.cb1
5 files changed, 1 insertions, 6 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);
diff --git a/src/mainboard/lenovo/t60/devicetree.cb b/src/mainboard/lenovo/t60/devicetree.cb
index 3973f3b25b..57b9df4531 100644
--- a/src/mainboard/lenovo/t60/devicetree.cb
+++ b/src/mainboard/lenovo/t60/devicetree.cb
@@ -143,7 +143,6 @@ chip northbridge/intel/i945
register "eventd_enable" = "0xff"
register "eventc_enable" = "0x3c"
- register "wlan_enable" = "0x01"
register "trackpoint_enable" = "0x03"
end
diff --git a/src/mainboard/lenovo/x201/devicetree.cb b/src/mainboard/lenovo/x201/devicetree.cb
index f800f9af31..c06056b6ab 100644
--- a/src/mainboard/lenovo/x201/devicetree.cb
+++ b/src/mainboard/lenovo/x201/devicetree.cb
@@ -73,7 +73,6 @@ chip northbridge/intel/nehalem
register "eventc_enable" = "0xff"
register "eventd_enable" = "0xff"
- register "wlan_enable" = "0x01"
register "trackpoint_enable" = "0x03"
end
diff --git a/src/mainboard/lenovo/x60/devicetree.cb b/src/mainboard/lenovo/x60/devicetree.cb
index 91daf3a65e..d6e09bfe01 100644
--- a/src/mainboard/lenovo/x60/devicetree.cb
+++ b/src/mainboard/lenovo/x60/devicetree.cb
@@ -121,7 +121,6 @@ chip northbridge/intel/i945
register "eventc_enable" = "0xff"
register "eventd_enable" = "0xff"
- register "wlan_enable" = "0x01"
register "trackpoint_enable" = "0x03"
end
chip superio/nsc/pc87382