From 95932ba9b7bb1ad1f81cb4a5d16b9fd9c203b254 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Mon, 14 Nov 2022 17:41:13 +0200 Subject: sb/intel/common: Drop duplicate smi_set_eos() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We have equivalent southbridge_smi_set_eos(). Change-Id: I03a48f0ec9efac2a220aa4ca502a5f504d78c585 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/69668 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/cpu/x86/smm/smm_module_handler.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/cpu/x86/smm') diff --git a/src/cpu/x86/smm/smm_module_handler.c b/src/cpu/x86/smm/smm_module_handler.c index e813f786e6..32f66af190 100644 --- a/src/cpu/x86/smm/smm_module_handler.c +++ b/src/cpu/x86/smm/smm_module_handler.c @@ -74,14 +74,6 @@ void io_trap_handler(int smif) printk(BIOS_DEBUG, "Unknown function\n"); } -/** - * @brief Set the EOS bit - */ -static void smi_set_eos(void) -{ - southbridge_smi_set_eos(); -} - static u32 pci_orig; /** @@ -196,7 +188,7 @@ asmlinkage void smm_handler_start(void *arg) smi_release_lock(); /* De-assert SMI# signal to allow another SMI */ - smi_set_eos(); + southbridge_smi_set_eos(); } RMODULE_ENTRY(smm_handler_start); -- cgit v1.2.3