diff options
Diffstat (limited to 'src/mainboard/intel/emeraldlake2/smihandler.c')
-rw-r--r-- | src/mainboard/intel/emeraldlake2/smihandler.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/mainboard/intel/emeraldlake2/smihandler.c b/src/mainboard/intel/emeraldlake2/smihandler.c index e9aeb2a4a2..5310bb04f5 100644 --- a/src/mainboard/intel/emeraldlake2/smihandler.c +++ b/src/mainboard/intel/emeraldlake2/smihandler.c @@ -26,27 +26,6 @@ #include <northbridge/intel/sandybridge/sandybridge.h> #include <cpu/intel/model_206ax/model_206ax.h> -int mainboard_io_trap_handler(int smif) -{ - switch (smif) { - case 0x99: - printk(BIOS_DEBUG, "Sample\n"); - smm_get_gnvs()->smif = 0; - break; - default: - return 0; - } - - /* On success, the IO Trap Handler returns 0 - * On failure, the IO Trap Handler returns a value != 0 - * - * For now, we force the return value to 0 and log all traps to - * see what's going on. - */ - //gnvs->smif = 0; - return 1; -} - /* * Change LED_POWER# (SIO GPIO 45) state based on sleep type. * The IO address is hardcoded as we don't have device path in SMM. |