summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/lynxpoint/pmutil.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-09-24 18:03:18 +0200
committerNico Huber <nico.h@gmx.de>2020-10-14 08:37:36 +0000
commit2aaf7c0a1d1a895805772fe5f878606161c8d3c5 (patch)
tree5d590e1379ec8098b6a8040a5357075d309f86c9 /src/southbridge/intel/lynxpoint/pmutil.c
parent2ead36334050ac692e64adc59a97320d8792adcc (diff)
downloadcoreboot-2aaf7c0a1d1a895805772fe5f878606161c8d3c5.tar.xz
haswell/lynxpoint: Align cosmetics with Broadwell
Tested with BUILD_TIMELESS=1, Google Wolf does not change. Change-Id: Ibd8430352e860ffc0e2030fd7bc73582982f4695 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45698 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge/intel/lynxpoint/pmutil.c')
-rw-r--r--src/southbridge/intel/lynxpoint/pmutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/intel/lynxpoint/pmutil.c b/src/southbridge/intel/lynxpoint/pmutil.c
index af7a2b2b98..7b8468934f 100644
--- a/src/southbridge/intel/lynxpoint/pmutil.c
+++ b/src/southbridge/intel/lynxpoint/pmutil.c
@@ -33,8 +33,8 @@ static void print_status_bits(u32 status, const char *bit_names[])
if (!status)
return;
- for (i=31; i>=0; i--) {
- if (status & (1UL << i)) {
+ for (i = 31; i >= 0; i--) {
+ if (status & (1 << i)) {
if (bit_names[i])
printk(BIOS_DEBUG, "%s ", bit_names[i]);
else
@@ -51,7 +51,7 @@ static void print_gpio_status(u32 status, int start)
if (!status)
return;
- for (i=31; i>=0; i--) {
+ for (i = 31; i >= 0; i--) {
if (status & (1 << i))
printk(BIOS_DEBUG, "GPIO%d ", start + i);
}