summaryrefslogtreecommitdiff
path: root/src/superio/smsc
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-09-16 20:32:00 +0200
committerPatrick Georgi <pgeorgi@google.com>2016-09-20 17:39:09 +0200
commitcf13950736b65b944b4449e9ac4904665a0cc61a (patch)
treebc71674aa756608ccc11f0ba2d17a3cacc522c77 /src/superio/smsc
parenta0fed37044680d5c67f0a59a009af5069868a35b (diff)
downloadcoreboot-cf13950736b65b944b4449e9ac4904665a0cc61a.tar.xz
src/superio: Add space around operators
Change-Id: Ibeab5e7fe0a9005e96934b3b43cfb247ef2e2340 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16615 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/superio/smsc')
-rw-r--r--src/superio/smsc/lpc47n207/early_serial.c6
-rw-r--r--src/superio/smsc/smscsuperio/superio.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/superio/smsc/lpc47n207/early_serial.c b/src/superio/smsc/lpc47n207/early_serial.c
index 175ea83d21..b8d3960654 100644
--- a/src/superio/smsc/lpc47n207/early_serial.c
+++ b/src/superio/smsc/lpc47n207/early_serial.c
@@ -57,7 +57,7 @@ void try_enabling_LPC47N207_uart(void)
/* enable CONFIG mode */
outb(CONFIG_ENABLE, lpc_port);
- reg_value=inb(lpc_port);
+ reg_value = inb(lpc_port);
if (reg_value != CONFIG_ENABLE) {
continue; /* There is no LPC device at this address */
}
@@ -68,12 +68,12 @@ void try_enabling_LPC47N207_uart(void)
* match.
*/
outb(0x12, lpc_port);
- reg_value=inb(lpc_port + 1);
+ reg_value = inb(lpc_port + 1);
if (reg_value != (lpc_port & 0xff))
break;
outb(0x13, lpc_port);
- reg_value=inb(lpc_port + 1);
+ reg_value = inb(lpc_port + 1);
if (reg_value != (lpc_port >> 8))
break;
diff --git a/src/superio/smsc/smscsuperio/superio.c b/src/superio/smsc/smscsuperio/superio.c
index 69eceb1b18..6cd3382648 100644
--- a/src/superio/smsc/smscsuperio/superio.c
+++ b/src/superio/smsc/smscsuperio/superio.c
@@ -236,8 +236,8 @@ static void enable_dev(struct device *dev)
/* TODO: Error handling? */
- printk(BIOS_INFO, "Found SMSC Super I/O (ID=0x%02x, "
- "rev=0x%02x)\n", superio_id, superio_rev);
+ printk(BIOS_INFO, "Found SMSC Super I/O (ID = 0x%02x, "
+ "rev = 0x%02x)\n", superio_id, superio_rev);
first_time = 0;
if (superio_id == LPC47M172) {