<p>Patrick Rudolph has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/21578">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ec/lenovo/h8: Add support for bluetooth on wifi<br><br>The EC does enable bluetooth on wifi cards and BDC at the same time.<br>Check the new Kconfig to support bluetooth on wifi in case no BDC<br>is installed and the BDC detection failes.<br><br>Change-Id: I23f14c937252a296dc543db49ec9e093e7e24604<br>Signed-off-by: Patrick Rudolph <siro@das-labor.org><br>---<br>M src/ec/lenovo/h8/Kconfig<br>M src/ec/lenovo/h8/h8.c<br>2 files changed, 8 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/78/21578/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/ec/lenovo/h8/Kconfig b/src/ec/lenovo/h8/Kconfig<br>index 190f4a9..701ec1e 100644<br>--- a/src/ec/lenovo/h8/Kconfig<br>+++ b/src/ec/lenovo/h8/Kconfig<br>@@ -21,6 +21,12 @@<br>        help<br>    Flash all LEDs when encountered a fatal error.<br> <br>+config H8_SUPPORT_BT_ON_WIFI<br>+   bool "Support Bluetooth on Wifi cards"<br>+     default n<br>+    help<br>+   Don't care for BDC detection as wifi card does have Bluetooth."<br>+<br> endif<br> <br> config H8_DOCK_EARLY_INIT<br>diff --git a/src/ec/lenovo/h8/h8.c b/src/ec/lenovo/h8/h8.c<br>index 882ac02..b6e99f8 100644<br>--- a/src/ec/lenovo/h8/h8.c<br>+++ b/src/ec/lenovo/h8/h8.c<br>@@ -271,7 +271,8 @@<br>        if (get_option(&val, "volume") == CB_SUCCESS && !acpi_is_wakeup_s3())<br>           ec_write(H8_VOLUME_CONTROL, val);<br> <br>- val = h8_has_bdc(dev) && h8_bluetooth_nv_enable();<br>+   val = (IS_ENABLED(CONFIG_H8_SUPPORT_BT_ON_WIFI) || h8_has_bdc(dev)) &&<br>+               h8_bluetooth_nv_enable();<br>     h8_bluetooth_enable(val);<br> <br>  val = h8_has_wwan(dev) && h8_wwan_nv_enable();<br></pre><p>To view, visit <a href="https://review.coreboot.org/21578">change 21578</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/21578"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I23f14c937252a296dc543db49ec9e093e7e24604 </div>
<div style="display:none"> Gerrit-Change-Number: 21578 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Patrick Rudolph <siro@das-labor.org> </div>