From 2af96025fcde0727d7bc358c90cadbe07645e084 Mon Sep 17 00:00:00 2001 From: V Sowmya Date: Tue, 5 Apr 2022 17:03:04 +0530 Subject: soc/intel/alderlake: Update the VccIn Aux Imon IccMax This patch updates the VccIn Aux Imon IccMax for ADL-N to SOC SKU specific value of 27A. Kit: 646929 - ADL N Platform Design Guide BUG=b:223102016 TEST=Verified that VccIn Aux Imon IccMax value is set to 27mA. Signed-off-by: V Sowmya Change-Id: If09cd1112fac9b30ff04c45aa5a6062c2513c715 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63372 Tested-by: build bot (Jenkins) Reviewed-by: Kangheui Won Reviewed-by: Eric Lai --- src/soc/intel/alderlake/fsp_params.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/soc/intel/alderlake/fsp_params.c b/src/soc/intel/alderlake/fsp_params.c index 34e949066d..a427289149 100644 --- a/src/soc/intel/alderlake/fsp_params.c +++ b/src/soc/intel/alderlake/fsp_params.c @@ -42,6 +42,7 @@ #define ICC_MAX_TDP_45W 34250 #define ICC_MAX_TDP_15W_28W 32000 #define ICC_MAX_ID_ADL_M_MA 12000 +#define ICC_MAX_ID_ADL_N_MA 27000 /* * ME End of Post configuration @@ -346,6 +347,11 @@ static uint16_t get_vccin_aux_imon_iccmax(void) case PCI_DID_INTEL_ADL_M_ID_1: case PCI_DID_INTEL_ADL_M_ID_2: return ICC_MAX_ID_ADL_M_MA; + case PCI_DID_INTEL_ADL_N_ID_1: + case PCI_DID_INTEL_ADL_N_ID_2: + case PCI_DID_INTEL_ADL_N_ID_3: + case PCI_DID_INTEL_ADL_N_ID_4: + return ICC_MAX_ID_ADL_N_MA; default: printk(BIOS_ERR, "Unknown MCH ID: 0x%4x, skipping VccInAuxImonIccMax config\n", mch_id); -- cgit v1.2.3