From 5530316024f5429ff9b6611e8abb1eaceefb7a45 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Thu, 14 Apr 2022 14:30:38 +0530 Subject: soc/intel/{skl, xeon_sp}: Drop SoC specific LPC lock down configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch drops SoC specific lpc lock down configuration as commit 63630 (soc/intel/cmn/pch/lockdown: Implement LPC lock down configuration) implements the lpc registers lock down configuration in common code. BUG=b:211954778 TEST=Build. Signed-off-by: Subrata Banik Change-Id: I99ec6d63dfe9a8ac8d9846067a9afc3ef83dc1c2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/63631 Tested-by: build bot (Jenkins) Reviewed-by: Lean Sheng Tan Reviewed-by: Marc Jones Reviewed-by: Paul Menzel --- src/soc/intel/skylake/lockdown.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/soc/intel/skylake') diff --git a/src/soc/intel/skylake/lockdown.c b/src/soc/intel/skylake/lockdown.c index 2fa53c92b3..1dd4e564d0 100644 --- a/src/soc/intel/skylake/lockdown.c +++ b/src/soc/intel/skylake/lockdown.c @@ -2,20 +2,10 @@ #include #include -#include #include #include #include -static void lpc_lockdown_config(int chipset_lockdown) -{ - /* Set BIOS Interface Lock, BIOS Lock */ - if (chipset_lockdown == CHIPSET_LOCKDOWN_COREBOOT) { - lpc_set_bios_interface_lock_down(); - lpc_set_lock_enable(); - } -} - static void pmc_lockdown_config(void) { uint8_t *pmcbase; @@ -33,9 +23,6 @@ static void pmc_lockdown_config(void) void soc_lockdown_config(int chipset_lockdown) { - /* LPC lock down configuration */ - lpc_lockdown_config(chipset_lockdown); - /* PMC lock down configuration */ pmc_lockdown_config(); } -- cgit v1.2.3