From e4ac9c043a9bb0a6601bbdca1a99a3811f7c94d8 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 11 Jan 2014 03:42:09 +0100 Subject: 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 Reviewed-on: http://review.coreboot.org/4651 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Ronald G. Minnich --- 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(-) (limited to 'src') 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 -- cgit v1.2.3