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 <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51873
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2021-03-26 22:48:42 +01:00 committed by Nico Huber
parent c024c14790
commit 5c3160ed80
1 changed files with 3 additions and 3 deletions

View File

@ -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 "