summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-06-16 14:31:05 +0300
committerPatrick Georgi <pgeorgi@google.com>2020-06-22 11:46:06 +0000
commitc4ef8e4c2bb444653440881283f4b79d09e0f49c (patch)
tree41f263ae3d029d7dd458b68bed22e0143b73330d /src/southbridge
parentb486f29a4452227c3dd9ee676eda41775afd8b96 (diff)
sb/intel/i82801dx: Drop APM_CNT_GNVS_UPDATE
In commit 96cb252 the accompanying implementation of smm_setup_structures() was already dropped. Change-Id: I9cff0cbaa85cf771cc7761b6c5286ec34a76ee9a Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42425 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/intel/i82801dx/smihandler.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/southbridge/intel/i82801dx/smihandler.c b/src/southbridge/intel/i82801dx/smihandler.c
index 9f9f2f36dc..b526a1aed0 100644
--- a/src/southbridge/intel/i82801dx/smihandler.c
+++ b/src/southbridge/intel/i82801dx/smihandler.c
@@ -25,7 +25,6 @@
* initialize it with a sane value
*/
u16 pmbase = PMBASE_ADDR;
-u8 smm_initialized = 0;
unsigned char *mbi = NULL;
u32 mbi_len;
@@ -362,17 +361,6 @@ static void southbridge_smi_apmc(void)
outl(pmctrl, pmbase + PM1_CNT);
printk(BIOS_DEBUG, "SMI#: ACPI enabled.\n");
break;
- case APM_CNT_GNVS_UPDATE:
- if (smm_initialized) {
- printk(BIOS_DEBUG, "SMI#: SMM structures already initialized!\n");
- return;
- }
- gnvs = *(global_nvs_t **)0x500;
- tcg = *(void **)0x504;
- smi1 = *(void **)0x508;
- smm_initialized = 1;
- printk(BIOS_DEBUG, "SMI#: Setting up structures to %p, %p, %p\n", gnvs, tcg, smi1);
- break;
case APM_CNT_MBI_UPDATE: // FIXME
if (mbi_initialized) {
printk(BIOS_DEBUG, "SMI#: mbi already registered!\n");