diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/amd/genoa/fch.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/soc/amd/genoa/fch.c b/src/soc/amd/genoa/fch.c index f93408714b..c9779571da 100644 --- a/src/soc/amd/genoa/fch.c +++ b/src/soc/amd/genoa/fch.c @@ -74,9 +74,17 @@ static void set_pci_irqs(void) /* TODO: PIRQ configuration */ } +static void fch_init_acpi_ports(void) +{ + /* Configure and enable APMC SMI Command Port */ + pm_write16(PM_ACPI_SMI_CMD, APM_CNT); + configure_smi(SMITYPE_SMI_CMD_PORT, SMI_MODE_SMI); +} + static void fch_init(void *unused) { set_pci_irqs(); + fch_init_acpi_ports(); } /* |