summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-03-26 22:48:42 +0100
committerNico Huber <nico.h@gmx.de>2021-04-10 16:00:45 +0000
commit5c3160ed80514bafa5f5bb2a5271fc7e489bfeb2 (patch)
treea36ca021471ecd6aec87608f3d8885d6a32bfb07 /src/northbridge
parentc024c14790244becc5fee9cb122848128689b181 (diff)
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>
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/x4x/dq_dqs.c6
1 files 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 "