summaryrefslogtreecommitdiff
path: root/src/northbridge/via/cx700
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-08-23 21:24:38 +0200
committerMartin Roth <martinroth@google.com>2016-08-31 20:10:49 +0200
commitd75b04f2b3baf75fdc52b06a319dddf0386f8e59 (patch)
treeb4520cb589fbc4adc194100653dc3195e2c1510a /src/northbridge/via/cx700
parent4a83f1cf24b793db40606febb8e27cee90452590 (diff)
downloadcoreboot-d75b04f2b3baf75fdc52b06a319dddf0386f8e59.tar.xz
northbridge/via: Add required space before opening parenthesis '('
Change-Id: Ic644cf6792a5d360527e48e04c74ae92be0d1d4f Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16284 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/northbridge/via/cx700')
-rw-r--r--src/northbridge/via/cx700/raminit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/northbridge/via/cx700/raminit.c b/src/northbridge/via/cx700/raminit.c
index 2016a87e2f..7d3fcbeb0b 100644
--- a/src/northbridge/via/cx700/raminit.c
+++ b/src/northbridge/via/cx700/raminit.c
@@ -79,10 +79,10 @@
do{ \
val = 0; \
tmp = 0; \
- for(i = 0; i < 2; i++) { \
- if(pci_read_config8(PCI_DEV(0, 0, 4), (SCRATCH_REG_BASE + (i << 1)))) { \
+ for (i = 0; i < 2; i++) { \
+ if (pci_read_config8(PCI_DEV(0, 0, 4), (SCRATCH_REG_BASE + (i << 1)))) { \
tmp = get_spd_data(ctrl, i, reg); \
- if(tmp > val) \
+ if (tmp > val) \
val = tmp; \
} \
} \