nb/intel/ironlake,sandybridge/gma: Fix out() parameter order
Change-Id: I4baa2e06d336736caf5505a05ed4353bcbfdb517 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69670 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
parent
0427788e24
commit
8d14633dfb
|
@ -122,15 +122,15 @@ static void gma_enable_swsci(void)
|
||||||
/* clear DMISCI status */
|
/* clear DMISCI status */
|
||||||
reg16 = inw(DEFAULT_PMBASE + TCO1_STS);
|
reg16 = inw(DEFAULT_PMBASE + TCO1_STS);
|
||||||
reg16 &= DMISCI_STS;
|
reg16 &= DMISCI_STS;
|
||||||
outw(DEFAULT_PMBASE + TCO1_STS, reg16);
|
outw(reg16, DEFAULT_PMBASE + TCO1_STS);
|
||||||
|
|
||||||
/* clear acpi tco status */
|
/* clear acpi tco status */
|
||||||
outl(DEFAULT_PMBASE + GPE0_STS, TCOSCI_STS);
|
outl(TCOSCI_STS, DEFAULT_PMBASE + GPE0_STS);
|
||||||
|
|
||||||
/* enable acpi tco scis */
|
/* enable acpi tco scis */
|
||||||
reg16 = inw(DEFAULT_PMBASE + GPE0_EN);
|
reg16 = inw(DEFAULT_PMBASE + GPE0_EN);
|
||||||
reg16 |= TCOSCI_EN;
|
reg16 |= TCOSCI_EN;
|
||||||
outw(DEFAULT_PMBASE + GPE0_EN, reg16);
|
outw(reg16, DEFAULT_PMBASE + GPE0_EN);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gma_func0_init(struct device *dev)
|
static void gma_func0_init(struct device *dev)
|
||||||
|
|
|
@ -570,15 +570,15 @@ static void gma_enable_swsci(void)
|
||||||
/* Clear DMISCI status */
|
/* Clear DMISCI status */
|
||||||
reg16 = inw(DEFAULT_PMBASE + TCO1_STS);
|
reg16 = inw(DEFAULT_PMBASE + TCO1_STS);
|
||||||
reg16 &= DMISCI_STS;
|
reg16 &= DMISCI_STS;
|
||||||
outw(DEFAULT_PMBASE + TCO1_STS, reg16);
|
outw(reg16, DEFAULT_PMBASE + TCO1_STS);
|
||||||
|
|
||||||
/* Clear ACPI TCO status */
|
/* Clear ACPI TCO status */
|
||||||
outl(DEFAULT_PMBASE + GPE0_STS, TCOSCI_STS);
|
outl(TCOSCI_STS, DEFAULT_PMBASE + GPE0_STS);
|
||||||
|
|
||||||
/* Enable ACPI TCO SCIs */
|
/* Enable ACPI TCO SCIs */
|
||||||
reg16 = inw(DEFAULT_PMBASE + GPE0_EN);
|
reg16 = inw(DEFAULT_PMBASE + GPE0_EN);
|
||||||
reg16 |= TCOSCI_EN;
|
reg16 |= TCOSCI_EN;
|
||||||
outw(DEFAULT_PMBASE + GPE0_EN, reg16);
|
outw(reg16, DEFAULT_PMBASE + GPE0_EN);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gma_func0_init(struct device *dev)
|
static void gma_func0_init(struct device *dev)
|
||||||
|
|
Loading…
Reference in New Issue