soc/intel: Retype `CnviBtAudioOffload` devicetree option

The `FORCE_ENABLE` and `FORCE_DISABLE` names do not match what FSP UPDs
say, and can be confused with the `PchHdaTestPowerClockGating` UPD.

Replace the enum with a bool, and drop the confusing names. Note that
the enum for Ice Lake was incorrect, but no mainboards used the option.

Change-Id: I2c9b4c6a2f210ffca946ca196299fa672a06ccc7
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51154
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2021-03-01 21:16:49 +01:00 committed by Patrick Georgi
parent 68b447c2f8
commit 98521c51f4
6 changed files with 6 additions and 22 deletions

View File

@ -289,7 +289,7 @@ chip soc/intel/tigerlake
register "tcc_offset" = "10" # TCC of 90
register "CnviBtAudioOffload" = "FORCE_ENABLE"
register "CnviBtAudioOffload" = "true"
# Intel Common SoC Config
#+-------------------+---------------------------+

View File

@ -207,10 +207,7 @@ struct soc_intel_alderlake_config {
uint8_t pch_isclk;
/* CNVi BT Audio Offload: Enable/Disable BT Audio Offload. */
enum {
FORCE_DISABLE,
FORCE_ENABLE,
} CnviBtAudioOffload;
bool CnviBtAudioOffload;
/*
* IOM Port Config

View File

@ -196,10 +196,7 @@ struct soc_intel_elkhartlake_config {
unsigned int sdcard_cd_gpio;
/* CNVi BT Audio Offload: Enable/Disable BT Audio Offload. */
enum {
FORCE_DISABLE,
FORCE_ENABLE,
} CnviBtAudioOffload;
bool CnviBtAudioOffload;
/* Tcss */
uint8_t TcssXhciEn;

View File

@ -184,11 +184,7 @@ struct soc_intel_icelake_config {
uint8_t pch_isclk;
/* CNVi BT Audio Offload: Enable/Disable BT Audio Offload. */
enum {
PLATFORM_POR,
FORCE_ENABLE,
FORCE_DISABLE,
} CnviBtAudioOffload;
bool CnviBtAudioOffload;
/*
* Override GPIO PM configuration:

View File

@ -199,10 +199,7 @@ struct soc_intel_jasperlake_config {
uint8_t pch_isclk;
/* CNVi BT Audio Offload: Enable/Disable BT Audio Offload. */
enum {
FORCE_DISABLE,
FORCE_ENABLE,
} CnviBtAudioOffload;
bool CnviBtAudioOffload;
/* Tcss */
uint8_t TcssXhciEn;

View File

@ -317,10 +317,7 @@ struct soc_intel_tigerlake_config {
} debug_interface_flag;
/* CNVi BT Audio Offload: Enable/Disable BT Audio Offload. */
enum {
FORCE_DISABLE,
FORCE_ENABLE,
} CnviBtAudioOffload;
bool CnviBtAudioOffload;
/* TCSS USB */
uint8_t TcssXhciEn;