diff options
Diffstat (limited to 'src/southbridge/intel/i82801jx/smihandler.c')
-rw-r--r-- | src/southbridge/intel/i82801jx/smihandler.c | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/src/southbridge/intel/i82801jx/smihandler.c b/src/southbridge/intel/i82801jx/smihandler.c index 03a6442eb1..ed58a11882 100644 --- a/src/southbridge/intel/i82801jx/smihandler.c +++ b/src/southbridge/intel/i82801jx/smihandler.c @@ -4,7 +4,6 @@ #include <console/console.h> #include <cpu/x86/smm.h> #include <device/pci_def.h> -#include <soc/nvs.h> #include <southbridge/intel/common/pmutil.h> #include "i82801jx.h" @@ -13,23 +12,6 @@ */ u16 pmbase = DEFAULT_PMBASE; -int southbridge_io_trap_handler(int smif) -{ - switch (smif) { - case 0x32: - printk(BIOS_DEBUG, "OS Init\n"); - /* gnvs->smif: - * On success, the IO Trap Handler returns 0 - * On failure, the IO Trap Handler returns a value != 0 - */ - gnvs->smif = 0; - return 1; /* IO trap handled */ - } - - /* Not handled */ - return 0; -} - void southbridge_smi_monitor(void) { #define IOTRAP(x) (trap_sts & (1 << x)) @@ -46,10 +28,9 @@ void southbridge_smi_monitor(void) mask |= (0xff << ((i - 16) << 3)); } - /* IOTRAP(3) SMI function call */ + /* IOTRAP(3) SMI function call (unused) */ if (IOTRAP(3)) { - if (gnvs && gnvs->smif) - io_trap_handler(gnvs->smif); // call function smif + printk(BIOS_DEBUG, "SMI function call not implemented\n"); return; } |