diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2016-10-02 10:09:11 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-10-07 18:06:14 +0200 |
commit | f2fcf22d225e6d8d4a497dba6bda24f98d525735 (patch) | |
tree | 74d85f19988eee410b1b507d7c91bb05600c08f6 /src/mainboard/lippert | |
parent | 028200f75f6d8d0f947d68f41ca10fbfe05f9283 (diff) |
src/mainboard: Remove unnecessary whitespace
Change-Id: I35cb7e08d5233aa5a3dbb4631ab2ee4dc9596f98
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/16849
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/lippert')
-rw-r--r-- | src/mainboard/lippert/frontrunner-af/mainboard.c | 2 | ||||
-rw-r--r-- | src/mainboard/lippert/toucan-af/mainboard.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/lippert/frontrunner-af/mainboard.c b/src/mainboard/lippert/frontrunner-af/mainboard.c index a8cf5c5dea..10b7504cb1 100644 --- a/src/mainboard/lippert/frontrunner-af/mainboard.c +++ b/src/mainboard/lippert/frontrunner-af/mainboard.c @@ -78,7 +78,7 @@ static int smb_write_blk(u8 slave, u8 command, u8 length, const u8 *data) __outbyte(SMB0_BLOCKDATA, *(data++)); __outbyte(SMB0_CONTROL, 0x54); // execute block write, no IRQ - while (__inbyte(SMB0_STATUS) == 0x01) ; // busy, no errors + while (__inbyte(SMB0_STATUS) == 0x01); // busy, no errors return __inbyte(SMB0_STATUS) ^ 0x02; // 0x02 = completed, no errors } diff --git a/src/mainboard/lippert/toucan-af/mainboard.c b/src/mainboard/lippert/toucan-af/mainboard.c index 6b51fd2e97..a80c9fd042 100644 --- a/src/mainboard/lippert/toucan-af/mainboard.c +++ b/src/mainboard/lippert/toucan-af/mainboard.c @@ -47,7 +47,7 @@ static int smb_write_blk(u8 slave, u8 command, u8 length, const u8 *data) __outbyte(SMB0_BLOCKDATA, *(data++)); __outbyte(SMB0_CONTROL, 0x54); // execute block write, no IRQ - while (__inbyte(SMB0_STATUS) == 0x01) ; // busy, no errors + while (__inbyte(SMB0_STATUS) == 0x01); // busy, no errors return __inbyte(SMB0_STATUS) ^ 0x02; // 0x02 = completed, no errors } |