summaryrefslogtreecommitdiff
path: root/util/romcc/tests/linux_test5.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/romcc/tests/linux_test5.c')
-rw-r--r--util/romcc/tests/linux_test5.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/romcc/tests/linux_test5.c b/util/romcc/tests/linux_test5.c
index cf0df46d54..e94d5d71e7 100644
--- a/util/romcc/tests/linux_test5.c
+++ b/util/romcc/tests/linux_test5.c
@@ -156,7 +156,7 @@ static const struct mem_param *spd_set_memclk(void)
unsigned device;
uint32_t value;
- static const int latency_indicies[] = { 26, 23, 9 };
+ static const int latency_indices[] = { 26, 23, 9 };
static const unsigned char min_cycle_times[] = {
[NBCAP_MEMCLK_200MHZ] = 0x50, /* 5ns */
[NBCAP_MEMCLK_166MHZ] = 0x60, /* 6ns */
@@ -224,7 +224,7 @@ static const struct mem_param *spd_set_memclk(void)
continue;
}
debug('D');
- value = smbus_read_byte(device, latency_indicies[index]);
+ value = smbus_read_byte(device, latency_indices[index]);
if (value < 0) continue;
debug('E');
@@ -310,7 +310,7 @@ static const struct mem_param *spd_set_memclk(void)
}
/* Read the min_cycle_time for this latency */
- value = smbus_read_byte(device, latency_indicies[index]);
+ value = smbus_read_byte(device, latency_indices[index]);
/* All is good if the selected clock speed
* is what I need or slower.