summaryrefslogtreecommitdiffstats
path: root/src/mainboard/lenovo/t60/early_init.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-08-04 13:20:13 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-08-05 11:36:52 +0000
commit6aa9d668739a29ebbaabd435d261f90176a72261 (patch)
treedfdc77a0d924c490966a8b9c80b4db0c7f49b8ca /src/mainboard/lenovo/t60/early_init.c
parent239272e43de7eab15031b8fd3727596d3a23ee82 (diff)
downloadcoreboot-6aa9d668739a29ebbaabd435d261f90176a72261.tar.gz
coreboot-6aa9d668739a29ebbaabd435d261f90176a72261.tar.bz2
coreboot-6aa9d668739a29ebbaabd435d261f90176a72261.zip
src: Use space after switch, while
Change-Id: I150591aa3624895c4c321101a251547dd23d1db5 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44172 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo/t60/early_init.c')
-rw-r--r--src/mainboard/lenovo/t60/early_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/t60/early_init.c b/src/mainboard/lenovo/t60/early_init.c
index ad2c58e26ab1..0a1ae53b72b8 100644
--- a/src/mainboard/lenovo/t60/early_init.c
+++ b/src/mainboard/lenovo/t60/early_init.c
@@ -25,7 +25,7 @@ static void early_superio_config(void)
pnp_write_config(dev, 0x29, 0xa0);
- while(!(pnp_read_config(dev, 0x29) & 0x10) && timeout--)
+ while (!(pnp_read_config(dev, 0x29) & 0x10) && timeout--)
udelay(1000);
/* Enable COM1 */