From 505e383ccbe4cec2483341833e92ea8c1d9330e8 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Sat, 17 Apr 2021 13:02:37 +0200 Subject: soc/intel: Move pmc_soc_set_afterg3_en() to pmutil.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 2c26108208e4aa48de21be576ab6cad9286d7934 moved this function to pmutil.c for Tiger Lake. Do this to all other platforms for consistency. For Skylake, __SIMPLE_DEVICE__ preprocessor guards are no longer needed. With this change, pmc.c is only needed in ramstage. Adjust Makefile.inc accordingly, and drop ENV_RAMSTAGE guards from Skylake. Change-Id: I424eb359c898f155659d085b888410b6bb58b9ed Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/52464 Tested-by: build bot (Jenkins) Reviewed-by: Tim Wawrzynczak Reviewed-by: Michael Niewöhner --- src/soc/intel/jasperlake/Makefile.inc | 1 - 1 file changed, 1 deletion(-) (limited to 'src/soc/intel/jasperlake/Makefile.inc') diff --git a/src/soc/intel/jasperlake/Makefile.inc b/src/soc/intel/jasperlake/Makefile.inc index c4b5fedba9..8a03965a0b 100644 --- a/src/soc/intel/jasperlake/Makefile.inc +++ b/src/soc/intel/jasperlake/Makefile.inc @@ -47,7 +47,6 @@ ramstage-y += xhci.c smm-y += gpio.c smm-y += p2sb.c -smm-y += pmc.c smm-y += pmutil.c smm-y += smihandler.c smm-y += uart.c -- cgit v1.2.3