diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2016-09-18 19:07:40 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-09-20 17:37:51 +0200 |
commit | a3d15afc675b8030c692af6ff918d6b67255c2d7 (patch) | |
tree | f47b365efc956490051c5d989a063b2063708a90 /src/southbridge | |
parent | 2051448359e3e7cbccf63f1817fa14468dcd50c8 (diff) | |
download | coreboot-a3d15afc675b8030c692af6ff918d6b67255c2d7.tar.xz |
southbridge/via: Add space around operators
Change-Id: Ib48c98bb161b92b28497df26fcfd0eae2c6829df
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/16635
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/southbridge')
-rw-r--r-- | src/southbridge/via/k8t890/pcie.c | 2 | ||||
-rw-r--r-- | src/southbridge/via/vt8237r/pirq.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/via/k8t890/pcie.c b/src/southbridge/via/k8t890/pcie.c index 25254c3405..cc39f57970 100644 --- a/src/southbridge/via/k8t890/pcie.c +++ b/src/southbridge/via/k8t890/pcie.c @@ -60,7 +60,7 @@ static void pcie_common_init(struct device *dev) /* Wait up to 100ms for link to come up */ up = 0; - for (i=0; i<1000; i++) { + for (i = 0; i < 1000; i++) { if (pci_read_config16(dev, 0x52) & (1<<13)) { up = 1; break; diff --git a/src/southbridge/via/vt8237r/pirq.c b/src/southbridge/via/vt8237r/pirq.c index 4687e822bf..ec393b49f0 100644 --- a/src/southbridge/via/vt8237r/pirq.c +++ b/src/southbridge/via/vt8237r/pirq.c @@ -21,7 +21,7 @@ #include <device/pci_ids.h> #include <pc80/i8259.h> -#if (CONFIG_PIRQ_ROUTE==1 && CONFIG_GENERATE_PIRQ_TABLE==1) +#if (CONFIG_PIRQ_ROUTE == 1 && CONFIG_GENERATE_PIRQ_TABLE == 1) void pirq_assign_irqs(const unsigned char route[4]) { device_t pdev; |