diff options
author | Reka Norman <rekanorman@google.com> | 2022-04-06 20:33:54 +1000 |
---|---|---|
committer | Patrick Georgi <patrick@coreboot.org> | 2022-04-07 08:12:20 +0000 |
commit | e790f929bd6986958f89d0c20d55ff1bd13d2ec5 (patch) | |
tree | a901b9467b47512061bf6d2b7a2c4e760353026f /src/soc/intel/alderlake/Kconfig | |
parent | d7cdeee74d2f0b701c614e1e7e7a177eecede55a (diff) |
soc/intel/alderlake: Add support to update descriptor at runtime
On nereid, we need to update the descriptor based on fw_config (see
the follow-up patch), so add support to update the descriptor at
runtime. This is a temporary workaround while we find a better solution.
This is basically adding back the configure_pmc_descriptor() function
removed in CB:63339, just making it generic and allowing it to update
multiple bytes at once.
BUG=b:226848617
TEST=With the following patch, Type-C and HDMI work on nereid.
Change-Id: I43c4d2888706561e42ff6b8ce0377eedbc38dbfe
Signed-off-by: Reka Norman <rekanorman@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63365
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Sam McNally <sammc@google.com>
Diffstat (limited to 'src/soc/intel/alderlake/Kconfig')
-rw-r--r-- | src/soc/intel/alderlake/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/intel/alderlake/Kconfig b/src/soc/intel/alderlake/Kconfig index b2f90f891a..d3c52944cb 100644 --- a/src/soc/intel/alderlake/Kconfig +++ b/src/soc/intel/alderlake/Kconfig @@ -112,6 +112,13 @@ config CPU_SPECIFIC_OPTIONS select UDK_202005_BINDING select USE_FSP_NOTIFY_PHASE_POST_PCI_ENUM +config ALDERLAKE_CONFIGURE_DESCRIPTOR + bool + help + Select this if the descriptor needs to be updated at runtime. This + can only be done if the descriptor region is writable, and should only + be used as a temporary workaround. + config ALDERLAKE_CAR_ENHANCED_NEM bool default y if !INTEL_CAR_NEM |