From d5c5b5233d0ee35b02eefc5f1db33ff92f878161 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Fri, 2 Dec 2022 20:20:44 +0200 Subject: sb,soc/amd: Remove unused southbridge_io_trap_handler() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit At the moment IO trap is not implemented for AMD platforms. Change-Id: Ib62ac4e4e418a8bab80c30dfb5183ecd8beb998d Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/70360 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Felix Held --- src/southbridge/amd/pi/hudson/smihandler.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/southbridge') diff --git a/src/southbridge/amd/pi/hudson/smihandler.c b/src/southbridge/amd/pi/hudson/smihandler.c index a942c24ada..429d07a4c7 100644 --- a/src/southbridge/amd/pi/hudson/smihandler.c +++ b/src/southbridge/amd/pi/hudson/smihandler.c @@ -43,11 +43,6 @@ static void hudson_apmc_smi_handler(void) mainboard_smi_apmc(cmd); } -int southbridge_io_trap_handler(int smif) -{ - return 0; -} - static void process_smi_sci(void) { const uint32_t status = smi_read32(0x10); -- cgit v1.2.3