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>
This commit is contained in:
Michał Żygowski 2022-04-25 15:02:10 +02:00 committed by Felix Held
parent 82b7d0cf8c
commit bda2a15113
1 changed files with 7 additions and 1 deletions

View File

@ -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);