Kyösti Mälkki has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/69670 )
Change subject: nb/intel/ironlake/gma: Fix out() parameter order ......................................................................
nb/intel/ironlake/gma: Fix out() parameter order
Change-Id: I4baa2e06d336736caf5505a05ed4353bcbfdb517 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com --- M src/northbridge/intel/ironlake/gma.c 1 file changed, 13 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/70/69670/1
diff --git a/src/northbridge/intel/ironlake/gma.c b/src/northbridge/intel/ironlake/gma.c index 8084560..fb21d35 100644 --- a/src/northbridge/intel/ironlake/gma.c +++ b/src/northbridge/intel/ironlake/gma.c @@ -122,15 +122,15 @@ /* clear DMISCI status */ reg16 = inw(DEFAULT_PMBASE + TCO1_STS); reg16 &= DMISCI_STS; - outw(DEFAULT_PMBASE + TCO1_STS, reg16); + outw(reg16, DEFAULT_PMBASE + TCO1_STS);
/* clear acpi tco status */ - outl(DEFAULT_PMBASE + GPE0_STS, TCOSCI_STS); + outl(TCOSCI_STS, DEFAULT_PMBASE + GPE0_STS);
/* enable acpi tco scis */ reg16 = inw(DEFAULT_PMBASE + GPE0_EN); reg16 |= TCOSCI_EN; - outw(DEFAULT_PMBASE + GPE0_EN, reg16); + outw(reg16, DEFAULT_PMBASE + GPE0_EN); }
static void gma_func0_init(struct device *dev)