summaryrefslogtreecommitdiff
path: root/util/romcc/tests/simple_test54.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/romcc/tests/simple_test54.c')
-rw-r--r--util/romcc/tests/simple_test54.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/romcc/tests/simple_test54.c b/util/romcc/tests/simple_test54.c
index 37dce795c5..b7dee66bcf 100644
--- a/util/romcc/tests/simple_test54.c
+++ b/util/romcc/tests/simple_test54.c
@@ -569,7 +569,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 */
@@ -637,7 +637,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');
@@ -723,7 +723,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.