sb/intel/i82801ix/lpc.c: Align with i82801jx

Tested with BUILD_TIMELESS=1, Roda RK9 does not change.

Change-Id: I9445fac7db0a96b6a28ccf307f5ccedc1f94b8ab
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44334
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Angel Pons 2020-08-10 13:44:09 +02:00
parent 28d10a2384
commit bcc2c729dd
1 changed files with 2 additions and 4 deletions

View File

@ -160,8 +160,7 @@ static void i82801ix_power_options(struct device *dev)
int nmi_option; int nmi_option;
/* BIOS must program... */ /* BIOS must program... */
reg32 = pci_read_config32(dev, 0xac); pci_or_config32(dev, 0xac, (1 << 30) | (3 << 8));
pci_write_config32(dev, 0xac, reg32 | (1 << 30) | (3 << 8));
/* Which state do we want to goto after g3 (power restored)? /* Which state do we want to goto after g3 (power restored)?
* 0 == S0 Full On * 0 == S0 Full On
@ -477,7 +476,6 @@ void southbridge_inject_dsdt(const struct device *dev)
} }
} }
static const char *lpc_acpi_name(const struct device *dev) static const char *lpc_acpi_name(const struct device *dev)
{ {
return "LPCB"; return "LPCB";