* fix a minor power state issue in the ich7 smm handler
* move mainboard dependent code into a mainboard SMI handler. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3982 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
43b29cf891
commit
3b387458b5
@@ -129,7 +129,18 @@ void console_tx_byte(unsigned char byte)
|
||||
|
||||
void io_trap_handler(int smif)
|
||||
{
|
||||
southbridge_io_trap_handler(smif);
|
||||
/* If a handler function handled a given IO trap, it
|
||||
* shall return a non-zero value
|
||||
*/
|
||||
printk_debug("SMI function trap 0x%x: ", smif);
|
||||
|
||||
if (southbridge_io_trap_handler(smif))
|
||||
return;
|
||||
|
||||
if (mainboard_io_trap_handler(smif))
|
||||
return;
|
||||
|
||||
printk_debug("Unknown function\n");
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user