Vladimir Serbinenko (phcoder@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4056
-gerrit
commit b6e4ecb08e21d3606d83a685a04f24118eebf097 Author: Vladimir Serbinenko phcoder@gmail.com Date: Wed Nov 13 21:53:23 2013 +0100
Enable 3G modem on lenovo
Just like bluetooth and wlan it need to be enabled in EC. Do it analogously to above mentioned
Change-Id: Ia4bfeb6fb05c6f61a47340e4213e72df5dae179b Signed-off-by: Vladimir Serbinenko phcoder@gmail.com --- src/ec/lenovo/h8/h8.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
diff --git a/src/ec/lenovo/h8/h8.c b/src/ec/lenovo/h8/h8.c index ca34fb6..5836a51 100644 --- a/src/ec/lenovo/h8/h8.c +++ b/src/ec/lenovo/h8/h8.c @@ -50,6 +50,14 @@ void h8_wlan_enable(int on) ec_clr_bit(0x3a, 5); }
+static void h8_3g_enable(int on) +{ + if (on) + ec_set_bit(0x3a, 6); + else + ec_clr_bit(0x3a, 6); +} + static void h8_log_ec_version(void) { unsigned char ecfw[9], c; @@ -154,6 +162,8 @@ static void h8_enable(device_t dev) val = 1; h8_bluetooth_enable(val);
+ h8_3g_enable(1); + if (get_option(&val, "first_battery")) val = 1;