From c16fc8a49c4bae8da2b496dd8a59056ac57483f9 Mon Sep 17 00:00:00 2001 From: John Zhao Date: Mon, 21 Sep 2020 13:10:11 -0700 Subject: soc/intel/tigerlake: Add support for CnviBtCore and CnviBtAudioOffload This change adds configuration support for both of CnviBtCore and CnviBtAudioOffload. BUG=b:169045123 TEST=Built and boot up to kernel on Volteer. Signed-off-by: John Zhao Change-Id: Id4bf41f07c4a53de17e9eb91a8ddfb1083cbf83e Reviewed-on: https://review.coreboot.org/c/coreboot/+/45585 Reviewed-by: Tim Wawrzynczak Reviewed-by: Sukumar Ghorai Reviewed-by: Naveen M Tested-by: build bot (Jenkins) --- src/soc/intel/tigerlake/fsp_params.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/soc/intel') diff --git a/src/soc/intel/tigerlake/fsp_params.c b/src/soc/intel/tigerlake/fsp_params.c index 1c5490b0f8..38f444bbd5 100644 --- a/src/soc/intel/tigerlake/fsp_params.c +++ b/src/soc/intel/tigerlake/fsp_params.c @@ -270,6 +270,13 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd) 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->CnviBtAudioOffload = config->CnviBtAudioOffload; + /* VMD */ dev = pcidev_path_on_root(SA_DEVFN_VMD); params->VmdEnable = is_dev_enabled(dev); -- cgit v1.2.3