soc/intel/alderlake: Add CNVi Bluetooth flag at devicetree entry
This change adds the corresponding CNVi BT Core enabling flag. TEST: BT is checked using 'lsusb -d 8087:0026' from OS. Change-Id: Iecc10c8946a450350adb34b984cf48ad988097ca Signed-off-by: Cliff Huang <cliff.huang@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51350 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
b34be4d4bb
commit
bc1941f178
|
@ -206,6 +206,9 @@ struct soc_intel_alderlake_config {
|
|||
/* Enable Pch iSCLK */
|
||||
uint8_t pch_isclk;
|
||||
|
||||
/* CNVi BT Core Enable/Disable */
|
||||
bool CnviBtCore;
|
||||
|
||||
/* CNVi BT Audio Offload: Enable/Disable BT Audio Offload. */
|
||||
bool CnviBtAudioOffload;
|
||||
|
||||
|
|
|
@ -247,13 +247,12 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
|||
/* CNVi */
|
||||
dev = pcidev_path_on_root(PCH_DEVFN_CNVI_WIFI);
|
||||
params->CnviMode = is_dev_enabled(dev);
|
||||
|
||||
/* CNVi BT Core */
|
||||
dev = pcidev_path_on_root(PCH_DEVFN_CNVI_BT);
|
||||
params->CnviBtCore = is_dev_enabled(dev);
|
||||
|
||||
/* CNVi BT Audio Offload */
|
||||
params->CnviBtCore = config->CnviBtCore;
|
||||
params->CnviBtAudioOffload = config->CnviBtAudioOffload;
|
||||
/* Assert if CNVi BT is enabled without CNVi being enabled. */
|
||||
assert(params->CnviMode || !params->CnviBtCore);
|
||||
/* Assert if CNVi BT offload is enabled without CNVi BT being enabled. */
|
||||
assert(params->CnviBtCore || !params->CnviBtAudioOffload);
|
||||
|
||||
/* VMD */
|
||||
dev = pcidev_path_on_root(SA_DEVFN_VMD);
|
||||
|
|
Loading…
Reference in New Issue