From 95fc5d776ab061049ec525adcbc9fe6712ee782c Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Fri, 9 Dec 2022 13:15:13 +0530 Subject: [PATCH] soc/intel/meteorlake: Drop enable_bios_reset_cpl() function This patch drops enable_bios_reset_cpl() as FSP sets the BIOS Reset CPL before performing Graphics PM init (as part of FSP-S), hence, enable_bios_reset_cpl() function getting called inside systemagent.c is meaningless. Also, drop 1ms delay after setting the BIOS reset CPL. This patch is backported from commit 3f980ca7be36339ad2cb5700bad0658643966cf2 (soc/intel/alderlake: Drop enable_bios_reset_cpl() function). Change-Id: Ia31867153b3b5f132c393a605c44616acfd7a34b Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/70556 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) Reviewed-by: Kapil Porwal Reviewed-by: Ivy Jian --- src/soc/intel/meteorlake/systemagent.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/soc/intel/meteorlake/systemagent.c b/src/soc/intel/meteorlake/systemagent.c index c91d3bddcd..d8fc0a4f2e 100644 --- a/src/soc/intel/meteorlake/systemagent.c +++ b/src/soc/intel/meteorlake/systemagent.c @@ -54,11 +54,6 @@ void soc_systemagent_init(struct device *dev) /* Enable Power Aware Interrupt Routing */ enable_power_aware_intr(); - /* Enable BIOS Reset CPL */ - enable_bios_reset_cpl(); - - /* Configure turbo power limits 1ms after reset complete bit */ - mdelay(1); config = config_of_soc(); /* Get System Agent PCI ID */