summaryrefslogtreecommitdiff
path: root/src/soc/intel/jasperlake/chip.h
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-03-01 21:16:49 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-03-03 09:02:03 +0000
commit98521c51f473e3abc2bd0a7247e2a40c8d1e2711 (patch)
tree202b3940178907219c6ee60240ba5809942db956 /src/soc/intel/jasperlake/chip.h
parent68b447c2f8ed9b064ff3c915ae98ec8612d0ba3d (diff)
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>
Diffstat (limited to 'src/soc/intel/jasperlake/chip.h')
-rw-r--r--src/soc/intel/jasperlake/chip.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/soc/intel/jasperlake/chip.h b/src/soc/intel/jasperlake/chip.h
index 6e52efded3..c25ccbf6fe 100644
--- a/src/soc/intel/jasperlake/chip.h
+++ b/src/soc/intel/jasperlake/chip.h
@@ -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;