From d5c5b5233d0ee35b02eefc5f1db33ff92f878161 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Fri, 2 Dec 2022 20:20:44 +0200 Subject: [PATCH] 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/soc/amd/cezanne/smihandler.c | 5 ----- src/soc/amd/glinda/smihandler.c | 5 ----- src/soc/amd/mendocino/smihandler.c | 5 ----- src/soc/amd/morgana/smihandler.c | 5 ----- src/soc/amd/picasso/smihandler.c | 5 ----- src/soc/amd/stoneyridge/smihandler.c | 5 ----- src/southbridge/amd/pi/hudson/smihandler.c | 5 ----- 7 files changed, 35 deletions(-) diff --git a/src/soc/amd/cezanne/smihandler.c b/src/soc/amd/cezanne/smihandler.c index 8f4e6d4ef6..61f5099362 100644 --- a/src/soc/amd/cezanne/smihandler.c +++ b/src/soc/amd/cezanne/smihandler.c @@ -105,11 +105,6 @@ static void fch_slp_typ_handler(void) } } -int southbridge_io_trap_handler(int smif) -{ - return 0; -} - /* * Table of functions supported in the SMI handler. Note that SMI source setup * in fch.c is unrelated to this list. diff --git a/src/soc/amd/glinda/smihandler.c b/src/soc/amd/glinda/smihandler.c index 9cc34b5b6b..9cf754a782 100644 --- a/src/soc/amd/glinda/smihandler.c +++ b/src/soc/amd/glinda/smihandler.c @@ -105,11 +105,6 @@ static void fch_slp_typ_handler(void) } } -int southbridge_io_trap_handler(int smif) -{ - return 0; -} - /* * Table of functions supported in the SMI handler. Note that SMI source setup * in fch.c is unrelated to this list. diff --git a/src/soc/amd/mendocino/smihandler.c b/src/soc/amd/mendocino/smihandler.c index 8e32b5d543..a973658def 100644 --- a/src/soc/amd/mendocino/smihandler.c +++ b/src/soc/amd/mendocino/smihandler.c @@ -105,11 +105,6 @@ static void fch_slp_typ_handler(void) } } -int southbridge_io_trap_handler(int smif) -{ - return 0; -} - /* * Table of functions supported in the SMI handler. Note that SMI source setup * in fch.c is unrelated to this list. diff --git a/src/soc/amd/morgana/smihandler.c b/src/soc/amd/morgana/smihandler.c index d04f9a3f45..f7519684b4 100644 --- a/src/soc/amd/morgana/smihandler.c +++ b/src/soc/amd/morgana/smihandler.c @@ -105,11 +105,6 @@ static void fch_slp_typ_handler(void) } } -int southbridge_io_trap_handler(int smif) -{ - return 0; -} - /* * Table of functions supported in the SMI handler. Note that SMI source setup * in fch.c is unrelated to this list. diff --git a/src/soc/amd/picasso/smihandler.c b/src/soc/amd/picasso/smihandler.c index 9568fce73e..247a159df5 100644 --- a/src/soc/amd/picasso/smihandler.c +++ b/src/soc/amd/picasso/smihandler.c @@ -107,11 +107,6 @@ static void fch_slp_typ_handler(void) } } -int southbridge_io_trap_handler(int smif) -{ - return 0; -} - /* * Table of functions supported in the SMI handler. Note that SMI source setup * in fch.c is unrelated to this list. diff --git a/src/soc/amd/stoneyridge/smihandler.c b/src/soc/amd/stoneyridge/smihandler.c index 7ba9bb8853..a8521c5bda 100644 --- a/src/soc/amd/stoneyridge/smihandler.c +++ b/src/soc/amd/stoneyridge/smihandler.c @@ -129,11 +129,6 @@ static void fch_slp_typ_handler(void) } } -int southbridge_io_trap_handler(int smif) -{ - return 0; -} - /* * Table of functions supported in the SMI handler. Note that SMI source setup * in southbridge.c is unrelated to this list. 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);