diff options
author | Martin Roth <martinroth@google.com> | 2018-02-08 19:52:20 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-02-10 23:49:42 +0000 |
commit | ba39770f2e41918c14da3dddab4d119d996d4eec (patch) | |
tree | c08af8bbc3029b46016b47f1a4ff54ad026a451b /src/soc | |
parent | 2db6fbc47b1070a40f5c9b00f6ac9957ca8a4199 (diff) | |
download | coreboot-ba39770f2e41918c14da3dddab4d119d996d4eec.tar.xz |
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>
Reviewed-on: https://review.coreboot.org/23665
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/amd/stoneyridge/smihandler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/stoneyridge/smihandler.c b/src/soc/amd/stoneyridge/smihandler.c index 7cc8900aa1..2830d18905 100644 --- a/src/soc/amd/stoneyridge/smihandler.c +++ b/src/soc/amd/stoneyridge/smihandler.c @@ -99,7 +99,7 @@ static void sb_apmc_smi_handler(void) 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)) |