mb/*/*/smihandler: Remove bogus mainboard_io_trap_handler
These mainboard_io_trap_handler functions do nothing compared to a weak mainboard_io_trap_handler in src/cpu/x86/smm/. Change-Id: I73ebcc6c3f604a075a946503d51881ccc6820dac Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36245 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
parent
cfc93cbb66
commit
dbed7865d3
|
@ -21,18 +21,6 @@
|
|||
|
||||
#define GPE_EC_SCI 12
|
||||
|
||||
int mainboard_io_trap_handler(int smif)
|
||||
{
|
||||
switch (smif) {
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* On success, the IO Trap Handler returns 1
|
||||
* On failure, the IO Trap Handler returns a value != 1 */
|
||||
return 1;
|
||||
}
|
||||
|
||||
int mainboard_smi_apmc(u8 data)
|
||||
{
|
||||
switch (data) {
|
||||
|
|
|
@ -32,11 +32,6 @@
|
|||
/* FIXME: check this */
|
||||
#define GPE_EC_WAKE 13
|
||||
|
||||
int mainboard_io_trap_handler(int smif)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
enum sleep_states {
|
||||
S0 = 0,
|
||||
S1 = 1,
|
||||
|
|
|
@ -22,19 +22,6 @@
|
|||
#include <northbridge/intel/nehalem/nehalem.h>
|
||||
#include <ec/acpi/ec.h>
|
||||
|
||||
int mainboard_io_trap_handler(int smif)
|
||||
{
|
||||
switch (smif) {
|
||||
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* On success, the IO Trap Handler returns 1
|
||||
* On failure, the IO Trap Handler returns a value != 1 */
|
||||
return 1;
|
||||
}
|
||||
|
||||
void mainboard_smi_gpi(u32 gpi_sts)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue