diff options
Diffstat (limited to 'src/mainboard/lenovo/l520/smihandler.c')
-rw-r--r-- | src/mainboard/lenovo/l520/smihandler.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mainboard/lenovo/l520/smihandler.c b/src/mainboard/lenovo/l520/smihandler.c index 1e463baf40..d2f7cb3e1d 100644 --- a/src/mainboard/lenovo/l520/smihandler.c +++ b/src/mainboard/lenovo/l520/smihandler.c @@ -26,25 +26,6 @@ /* FIXME: check this */ #define GPE_EC_WAKE 13 -static void mainboard_smm_init(void) -{ - printk(BIOS_DEBUG, "initializing SMI\n"); - /* Enable 0x1600/0x1600 register pair */ - ec_set_bit(0x00, 0x05); -} - -int mainboard_io_trap_handler(int smif) -{ - static int smm_initialized; - - if (!smm_initialized) { - mainboard_smm_init(); - smm_initialized = 1; - } - - return 0; -} - static void mainboard_smi_handle_ec_sci(void) { u8 status = inb(EC_SC); |