summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-08-04 13:20:13 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-08-05 11:36:52 +0000
commit6aa9d668739a29ebbaabd435d261f90176a72261 (patch)
treedfdc77a0d924c490966a8b9c80b4db0c7f49b8ca /src/northbridge
parent239272e43de7eab15031b8fd3727596d3a23ee82 (diff)
src: Use space after switch, while
Change-Id: I150591aa3624895c4c321101a251547dd23d1db5 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44172 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/x4x/dq_dqs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/intel/x4x/dq_dqs.c b/src/northbridge/intel/x4x/dq_dqs.c
index dda41744ae..52166ed7e0 100644
--- a/src/northbridge/intel/x4x/dq_dqs.c
+++ b/src/northbridge/intel/x4x/dq_dqs.c
@@ -220,7 +220,7 @@ static int find_dq_limit(const struct sysinfo *s, const u8 channel,
expected_result == FAILING ? "failing" : "succeeding", channel);
memset(pass_count, 0, sizeof(pass_count));
- while(succes_mask) {
+ while (succes_mask) {
test_result = test_dq_aligned(s, channel);
FOR_EACH_BYTELANE(lane) {
if (((test_result >> lane) & 1) != expected_result) {
@@ -390,7 +390,7 @@ static int rt_find_dqs_limit(struct sysinfo *s, u8 channel,
FOR_EACH_BYTELANE(lane)
rt_set_dqs(channel, lane, 0, &dqs_setting[lane]);
- while(status == CB_SUCCESS) {
+ while (status == CB_SUCCESS) {
test_result = test_dqs_aligned(s, channel);
if (test_result == (expected_result == SUCCEEDING ? 0 : 0xff))
return CB_SUCCESS;