Vladimir Serbinenko (phcoder@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4651
-gerrit
commit bef3bb45076f878f2a93b23794fba5d340f51dbc Author: Vladimir Serbinenko phcoder@gmail.com Date: Sat Jan 11 03:42:09 2014 +0100
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 --- src/ec/lenovo/h8/chip.h | 2 -- src/ec/lenovo/h8/h8.c | 2 +- src/mainboard/lenovo/t60/devicetree.cb | 1 - src/mainboard/lenovo/x201/devicetree.cb | 1 - src/mainboard/lenovo/x60/devicetree.cb | 1 - 5 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/ec/lenovo/h8/chip.h b/src/ec/lenovo/h8/chip.h index 6cb2f9b..58313d4 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 4f9d228..c25903a 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 3973f3b..57b9df4 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 f800f9a..c06056b 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 91daf3a..d6e09bf 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