From b2832e3586530361cf92bdf55d060365fdcdf44c Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Tue, 22 Oct 2019 18:36:59 +0200 Subject: mb/*/*/smihandler: Remove bogus SMM init I does nothing on these boards. It's just a call a local noop function which only prints a debug-level message. Change-Id: Id3fb2e9074db72d9025b95f7d4918417dd488b9e Signed-off-by: Peter Lemenkov Reviewed-on: https://review.coreboot.org/c/coreboot/+/36236 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph --- src/mainboard/packardbell/ms2290/smihandler.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/mainboard/packardbell/ms2290/smihandler.c') diff --git a/src/mainboard/packardbell/ms2290/smihandler.c b/src/mainboard/packardbell/ms2290/smihandler.c index dfc66f98cf0c..915de13de149 100644 --- a/src/mainboard/packardbell/ms2290/smihandler.c +++ b/src/mainboard/packardbell/ms2290/smihandler.c @@ -22,20 +22,8 @@ #include #include -static void mainboard_smm_init(void) -{ - printk(BIOS_DEBUG, "initializing SMI\n"); -} - int mainboard_io_trap_handler(int smif) { - static int smm_initialized; - - if (!smm_initialized) { - mainboard_smm_init(); - smm_initialized = 1; - } - switch (smif) { default: -- cgit v1.2.3