From 5c3160ed80514bafa5f5bb2a5271fc7e489bfeb2 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Fri, 26 Mar 2021 22:48:42 +0100 Subject: [PATCH] nb/intel/x4x/dq_dqs.c: Fix typo in variable name Tested with BUILD_TIMELESS=1, Asus P5QL PRO remains identical. Change-Id: I143e69446614ddc80562e5931c260329257fd3cb Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/51873 Reviewed-by: Nico Huber Tested-by: build bot (Jenkins) --- src/northbridge/intel/x4x/dq_dqs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/northbridge/intel/x4x/dq_dqs.c b/src/northbridge/intel/x4x/dq_dqs.c index 867c862e5f..eab5365341 100644 --- a/src/northbridge/intel/x4x/dq_dqs.c +++ b/src/northbridge/intel/x4x/dq_dqs.c @@ -213,13 +213,13 @@ static int find_dq_limit(const struct sysinfo *s, const u8 channel, int lane; u8 test_result; u8 pass_count[TOTAL_BYTELANES]; - u8 succes_mask = 0xff; + u8 success_mask = 0xff; printk(RAM_DEBUG, "Looking for %s writes on channel %d\n", expected_result == FAILING ? "failing" : "succeeding", channel); memset(pass_count, 0, sizeof(pass_count)); - while (succes_mask) { + while (success_mask) { test_result = test_dq_aligned(s, channel); FOR_EACH_BYTELANE(lane) { if (((test_result >> lane) & 1) != expected_result) { @@ -232,7 +232,7 @@ static int find_dq_limit(const struct sysinfo *s, const u8 channel, dq_lim[lane]++; pass_count[lane]++; } else if (pass_count[lane] == CONSISTENCY) { - succes_mask &= ~(1 << lane); + success_mask &= ~(1 << lane); } if (status == CB_ERR) { printk(BIOS_CRIT, "Could not find a case of %s "