Martin Roth has uploaded this change for review. ( https://review.coreboot.org/23665
Change subject: soc/amd/stoneyridge: Put outl arguments in correct order ......................................................................
soc/amd/stoneyridge: Put outl arguments in correct order
outl takes value then port.
BUG=b:72130849 Test=None
Change-Id: I010c8a4462e6e27f3d335b95305dfdb137453869 Signed-off-by: Martin Roth martinroth@google.com --- M src/soc/amd/stoneyridge/smihandler.c 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/65/23665/1
diff --git a/src/soc/amd/stoneyridge/smihandler.c b/src/soc/amd/stoneyridge/smihandler.c index 7cc8900..2830d18 100644 --- a/src/soc/amd/stoneyridge/smihandler.c +++ b/src/soc/amd/stoneyridge/smihandler.c @@ -99,7 +99,7 @@ case APM_CNT_ACPI_DISABLE: reg32 = inl(ACPI_PM1_CNT_BLK); reg32 &= ~(1 << 0); /* clear SCI_EN */ - outl(ACPI_PM1_CNT_BLK, reg32); + outl(reg32, ACPI_PM1_CNT_BLK); break; case ELOG_GSMI_APM_CNT: if (IS_ENABLED(CONFIG_ELOG_GSMI))