diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2016-09-18 19:18:56 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-20 17:15:32 +0200 |
commit | c021ffee45f7b19b3a8e6c426e0d14a4609bf593 (patch) | |
tree | 6c6a5667ccd217f5272f178271d360947eae1231 /src/southbridge/amd/agesa/hudson/imc.c | |
parent | bf7faa1a634e8bed0d0a8b6634dfe10f42ab986c (diff) | |
download | coreboot-c021ffee45f7b19b3a8e6c426e0d14a4609bf593.tar.xz |
southbridge/amd: Add space around operators
Change-Id: I949ff7de072e5e0753d9c8ff0bf98abfca25798b
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/16637
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/southbridge/amd/agesa/hudson/imc.c')
-rw-r--r-- | src/southbridge/amd/agesa/hudson/imc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/amd/agesa/hudson/imc.c b/src/southbridge/amd/agesa/hudson/imc.c index 4da6814c68..049eca95ff 100644 --- a/src/southbridge/amd/agesa/hudson/imc.c +++ b/src/southbridge/amd/agesa/hudson/imc.c @@ -66,12 +66,12 @@ void enable_imc_thermal_zone(void) regs[0] = 0; regs[1] = 0; FunNum = Fun_80; - for (i=0; i<=1; i++) + for (i = 0; i <= 1; i++) WriteECmsg(MSG_REG0 + i, AccessWidth8, ®s[i], &StdHeader); WriteECmsg(MSG_SYS_TO_IMC, AccessWidth8, &FunNum, &StdHeader); // function number WaitForEcLDN9MailboxCmdAck(&StdHeader); - for (i=2; i<=9; i++) + for (i = 2; i <= 9; i++) ReadECmsg(MSG_REG0 + i, AccessWidth8, ®s[i], &StdHeader); /* enable thermal zone 0 */ @@ -79,7 +79,7 @@ void enable_imc_thermal_zone(void) regs[0] = 0; regs[1] = 0; FunNum = Fun_81; - for (i=0; i<=9; i++) + for (i = 0; i <= 9; i++) WriteECmsg(MSG_REG0 + i, AccessWidth8, ®s[i], &StdHeader); WriteECmsg(MSG_SYS_TO_IMC, AccessWidth8, &FunNum, &StdHeader); // function number WaitForEcLDN9MailboxCmdAck(&StdHeader); |