diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-09 09:42:48 -0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-03-13 17:41:48 +0100 |
commit | 320b7ca44b0d18d97ac226b5fb63b6763ee6ac7c (patch) | |
tree | eb83168f22162c7fa2734b76e5fc47c27c47323d /src/soc/intel/apollolake/northbridge.c | |
parent | 68571c144e506379bcc0561278e1f9adc28da6ef (diff) | |
download | coreboot-320b7ca44b0d18d97ac226b5fb63b6763ee6ac7c.tar.xz |
soc/intel/apollolake: Fix spacing around operators and commas
Fix the following errors detected by checkpatch.pl:
ERROR: spaces required around that '==' (ctx:VxO)
ERROR: space required before that '-' (ctx:OxV)
ERROR: spaces required around that '=' (ctx:VxW)
ERROR: spaces required around that '=' (ctx:WxV)
ERROR: spaces required around that '=' (ctx:VxV)
ERROR: need consistent spacing around '+' (ctx:VxW)
ERROR: space prohibited before that '++' (ctx:WxB)
ERROR: space prohibited before that ',' (ctx:WxW)
ERROR: space required after that ',' (ctx:VxV)
TEST=Build for reef
Change-Id: I37265a69fcb14fbf7c182ef29d823f70a5748ad8
Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18720
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/intel/apollolake/northbridge.c')
-rw-r--r-- | src/soc/intel/apollolake/northbridge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/apollolake/northbridge.c b/src/soc/intel/apollolake/northbridge.c index cc097ba85f..db595f5614 100644 --- a/src/soc/intel/apollolake/northbridge.c +++ b/src/soc/intel/apollolake/northbridge.c @@ -76,7 +76,7 @@ static int mc_add_imr_resources(device_t dev, int index) mchbar = (void *)(ALIGN_DOWN(get_bar(dev, MCHBAR), 32*KiB)); - for (i = 0; i < MCH_NUM_IMRS; i ++) { + for (i = 0; i < MCH_NUM_IMRS; i++) { imr_offset = i * MCH_IMR_PITCH; base = read32(mchbar + imr_offset + MCHBAR_IMR0BASE); mask = read32(mchbar + imr_offset + MCHBAR_IMR0MASK); |