commit | 8963f7d40be4961e8ae6dca4185e4e682ba2fdb9 | [log] [tgz] |
---|---|---|
author | Angel Pons <th3fanbus@gmail.com> | Sat Oct 24 12:20:28 2020 +0200 |
committer | Michael Niewöhner <foss@mniewoehner.de> | Sat Oct 31 10:08:35 2020 +0000 |
tree | 02f2ce901e111c264ecd4744dad18c0883251ca5 | |
parent | 2d35cf8689998b9dc0626083c3a3d867f82a35e0 [diff] [blame] |
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>
diff --git a/src/southbridge/intel/lynxpoint/smihandler.c b/src/southbridge/intel/lynxpoint/smihandler.c index 9a5e5c0..8b791f7 100644 --- a/src/southbridge/intel/lynxpoint/smihandler.c +++ b/src/southbridge/intel/lynxpoint/smihandler.c
@@ -348,7 +348,7 @@ 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)); } }