summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/amdmct/mct/mct_d_gcc.h
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-08-23 21:36:02 +0200
committerMartin Roth <martinroth@google.com>2016-08-31 20:28:51 +0200
commit5a7e72f1aef02b326a67d883d92fe8c0aad9f3a9 (patch)
tree8d51ad99d2d9469f195694b29a571facf18d89f8 /src/northbridge/amd/amdmct/mct/mct_d_gcc.h
parent2b010b8795de84b6753c5e49d6a73c25fee96da1 (diff)
downloadcoreboot-5a7e72f1aef02b326a67d883d92fe8c0aad9f3a9.tar.xz
northbridge/amd: Add required space before opening parenthesis '('
Change-Id: Ic85f725bbdf72fbac5a4d9482c61343c5eb35e25 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16305 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/northbridge/amd/amdmct/mct/mct_d_gcc.h')
-rw-r--r--src/northbridge/amd/amdmct/mct/mct_d_gcc.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/northbridge/amd/amdmct/mct/mct_d_gcc.h b/src/northbridge/amd/amdmct/mct/mct_d_gcc.h
index 68b6bc2ea8..fd39b38170 100644
--- a/src/northbridge/amd/amdmct/mct/mct_d_gcc.h
+++ b/src/northbridge/amd/amdmct/mct/mct_d_gcc.h
@@ -61,8 +61,8 @@ static u32 bsr(u32 x)
u8 i;
u32 ret = 0;
- for(i=31; i>0; i--) {
- if(x & (1<<i)) {
+ for (i=31; i>0; i--) {
+ if (x & (1<<i)) {
ret = i;
break;
}
@@ -78,8 +78,8 @@ static u32 bsf(u32 x)
u8 i;
u32 ret = 32;
- for(i=0; i<32; i++) {
- if(x & (1<<i)) {
+ for (i=0; i<32; i++) {
+ if (x & (1<<i)) {
ret = i;
break;
}
@@ -343,7 +343,7 @@ static u32 stream_to_int(u8 const *p)
val = 0;
- for(i=3; i>=0; i--) {
+ for (i=3; i>=0; i--) {
val <<= 8;
valx = *(p+i);
val |= valx;