[coreboot-gerrit] Change in coreboot[master]: soc/amd/stoneyridge: Put outl arguments in correct order

Martin Roth (Code Review) gerrit at coreboot.org
Fri Feb 9 04:09:04 CET 2018


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 at 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))

-- 
To view, visit https://review.coreboot.org/23665
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I010c8a4462e6e27f3d335b95305dfdb137453869
Gerrit-Change-Number: 23665
Gerrit-PatchSet: 1
Gerrit-Owner: Martin Roth <martinroth at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180209/8f676189/attachment-0001.html>


More information about the coreboot-gerrit mailing list