diff options
author | Michał Żygowski <michal.zygowski@3mdeb.com> | 2022-04-25 15:02:10 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-06-16 00:00:28 +0000 |
commit | bda2a15113c1f76ac2d2cb1ebd79b0aea6f20204 (patch) | |
tree | a43a00c936f9a609162d45f8b91bff81a5dafb45 /src/soc/intel | |
parent | 82b7d0cf8c426b98ac8a737531f053585f7d4a58 (diff) |
soc/intel/alderlake/fsp_params.c: Add VccIn Aux Imon IccMax for ADL-S
Based on DOC #619501.
Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Change-Id: Ia95404e717787edbdb67c9e584e749526b973427
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63839
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/soc/intel')
-rw-r--r-- | src/soc/intel/alderlake/fsp_params.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/soc/intel/alderlake/fsp_params.c b/src/soc/intel/alderlake/fsp_params.c index f14adbdc83..36fd50de17 100644 --- a/src/soc/intel/alderlake/fsp_params.c +++ b/src/soc/intel/alderlake/fsp_params.c @@ -43,6 +43,7 @@ #define ICC_MAX_TDP_15W_28W 32000 #define ICC_MAX_ID_ADL_M_MA 12000 #define ICC_MAX_ID_ADL_N_MA 27000 +#define ICC_MAX_ADL_S 33000 /* * ME End of Post configuration @@ -319,7 +320,7 @@ static unsigned int get_aspm_control(enum ASPM_control ctl) return ctl - 1; } -/* This function returns the VccIn Aux Imon IccMax values for ADL-P SKU's */ +/* This function returns the VccIn Aux Imon IccMax values for ADL-P and ADL-S SKU's */ static uint16_t get_vccin_aux_imon_iccmax(void) { uint16_t mch_id = 0; @@ -352,6 +353,11 @@ static uint16_t get_vccin_aux_imon_iccmax(void) case PCI_DID_INTEL_ADL_N_ID_3: case PCI_DID_INTEL_ADL_N_ID_4: return ICC_MAX_ID_ADL_N_MA; + case PCI_DID_INTEL_ADL_S_ID_1: + case PCI_DID_INTEL_ADL_S_ID_3: + case PCI_DID_INTEL_ADL_S_ID_8: + case PCI_DID_INTEL_ADL_S_ID_10: + return ICC_MAX_ADL_S; default: printk(BIOS_ERR, "Unknown MCH ID: 0x%4x, skipping VccInAuxImonIccMax config\n", mch_id); |