summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-06-26 21:38:52 +1000
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-06-30 18:20:20 +0200
commit42b716f119ea994880364a7d423841ec97d99ac7 (patch)
tree403a0de2c30b4b526da800ab772c5aae0b0ccf70 /src
parentdf3629b63cc840f089cfd645fc5cf992bbbffe16 (diff)
downloadcoreboot-42b716f119ea994880364a7d423841ec97d99ac7.tar.xz
northbridge/intel/nehalem/raminit.c: Extraneous parenthese
Equality comparison with extraneous parenthese, spotted by Clang. Change-Id: I8d532392a0365753583ed441958e06d5da784587 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/6124 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/intel/nehalem/raminit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/nehalem/raminit.c b/src/northbridge/intel/nehalem/raminit.c
index a2960f6e00..2ddc35caee 100644
--- a/src/northbridge/intel/nehalem/raminit.c
+++ b/src/northbridge/intel/nehalem/raminit.c
@@ -4148,7 +4148,7 @@ void raminit(const int s3resume, const u8 *spd_addrmap)
write_mchbar32(0x1af0, 0x1f020003);
gav(read_mchbar32(0x1af0)); // !!!!
- if (((x2ca8 == 0))) {
+ if (x2ca8 == 0) {
write_mchbar8(0x2ca8, read_mchbar8(0x2ca8) | 1); // guess
}