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:
parent
f4617c0ce8
commit
6bed1c47f6
|
@ -24,10 +24,6 @@
|
||||||
*/
|
*/
|
||||||
u16 pmbase = PMBASE_ADDR;
|
u16 pmbase = PMBASE_ADDR;
|
||||||
|
|
||||||
unsigned char *mbi = NULL;
|
|
||||||
u32 mbi_len;
|
|
||||||
u8 mbi_initialized = 0;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief read and clear PM1_STS
|
* @brief read and clear PM1_STS
|
||||||
* @return PM1_STS register
|
* @return PM1_STS register
|
||||||
|
@ -335,17 +331,6 @@ static void southbridge_smi_apmc(void)
|
||||||
outl(pmctrl, pmbase + PM1_CNT);
|
outl(pmctrl, pmbase + PM1_CNT);
|
||||||
printk(BIOS_DEBUG, "SMI#: ACPI enabled.\n");
|
printk(BIOS_DEBUG, "SMI#: ACPI enabled.\n");
|
||||||
break;
|
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:
|
default:
|
||||||
printk(BIOS_DEBUG, "SMI#: Unknown function APM_CNT=%02x\n", reg8);
|
printk(BIOS_DEBUG, "SMI#: Unknown function APM_CNT=%02x\n", reg8);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue