sb/intel/i82801dx: Drop APM_CNT_MBI_UPDATE

No useful implementation existed.

Change-Id: I9a6f9876330fe9f0cdb2925e20f3675fda53d32b
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42852
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kyösti Mälkki 2020-06-28 17:33:10 +03:00 committed by Patrick Georgi
parent f4617c0ce8
commit 6bed1c47f6
1 changed files with 0 additions and 15 deletions

View File

@ -24,10 +24,6 @@
*/
u16 pmbase = PMBASE_ADDR;
unsigned char *mbi = NULL;
u32 mbi_len;
u8 mbi_initialized = 0;
/**
* @brief read and clear PM1_STS
* @return PM1_STS register
@ -335,17 +331,6 @@ static void southbridge_smi_apmc(void)
outl(pmctrl, pmbase + PM1_CNT);
printk(BIOS_DEBUG, "SMI#: ACPI enabled.\n");
break;
case APM_CNT_MBI_UPDATE: // FIXME
if (mbi_initialized) {
printk(BIOS_DEBUG, "SMI#: mbi already registered!\n");
return;
}
mbi = *(void **)0x500;
mbi_len = *(u32 *)0x504;
mbi_initialized = 1;
printk(BIOS_DEBUG, "SMI#: Registered MBI at %p (%d bytes)\n", mbi, mbi_len);
break;
default:
printk(BIOS_DEBUG, "SMI#: Unknown function APM_CNT=%02x\n", reg8);
}