aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2022-12-02 20:20:44 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-12-06 23:24:48 +0000
commitd5c5b5233d0ee35b02eefc5f1db33ff92f878161 (patch)
treea9792d587b2ba75b199107fb5c8219d50b411f77
parent2b48258865fc0819c92e3fbc15f6c7ea9f00966d (diff)
sb,soc/amd: Remove unused southbridge_io_trap_handler()
At the moment IO trap is not implemented for AMD platforms. Change-Id: Ib62ac4e4e418a8bab80c30dfb5183ecd8beb998d Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70360 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
-rw-r--r--src/soc/amd/cezanne/smihandler.c5
-rw-r--r--src/soc/amd/glinda/smihandler.c5
-rw-r--r--src/soc/amd/mendocino/smihandler.c5
-rw-r--r--src/soc/amd/morgana/smihandler.c5
-rw-r--r--src/soc/amd/picasso/smihandler.c5
-rw-r--r--src/soc/amd/stoneyridge/smihandler.c5
-rw-r--r--src/southbridge/amd/pi/hudson/smihandler.c5
7 files changed, 0 insertions, 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);