summaryrefslogtreecommitdiffstats
path: root/src/southbridge/intel/lynxpoint/smihandler.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-10-24 12:20:28 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-10-31 10:08:35 +0000
commit8963f7d40be4961e8ae6dca4185e4e682ba2fdb9 (patch)
tree02f2ce901e111c264ecd4744dad18c0883251ca5 /src/southbridge/intel/lynxpoint/smihandler.c
parent2d35cf8689998b9dc0626083c3a3d867f82a35e0 (diff)
downloadcoreboot-8963f7d40be4961e8ae6dca4185e4e682ba2fdb9.tar.gz
coreboot-8963f7d40be4961e8ae6dca4185e4e682ba2fdb9.tar.bz2
coreboot-8963f7d40be4961e8ae6dca4185e4e682ba2fdb9.zip
sb/intel/lynxpoint: Drop unnecessary `UL` suffix
With BUILD_TIMELESS=1, Asrock B85M Pro4 and Google Wolf do not change. Change-Id: I9ba4097cd82c4ff68315a40e1e955e4ed9a43862 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46719 Reviewed-by: Michael Niewöhner <foss@mniewoehner.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge/intel/lynxpoint/smihandler.c')
-rw-r--r--src/southbridge/intel/lynxpoint/smihandler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/lynxpoint/smihandler.c b/src/southbridge/intel/lynxpoint/smihandler.c
index 9a5e5c056111..8b791f770b5c 100644
--- a/src/southbridge/intel/lynxpoint/smihandler.c
+++ b/src/southbridge/intel/lynxpoint/smihandler.c
@@ -348,7 +348,7 @@ static void southbridge_smi_pm1(void)
if (pm1_sts & PWRBTN_STS) {
/* power button pressed */
elog_gsmi_add_event(ELOG_TYPE_POWER_BUTTON);
- disable_pm1_control(-1UL);
+ disable_pm1_control(-1);
enable_pm1_control(SLP_EN | (SLP_TYP_S5 << 10));
}
}