summaryrefslogtreecommitdiff
path: root/util/romcc/tests/simple_test46.c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-05-18 06:57:07 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-05-20 14:45:35 +0000
commitbd96a8430046601dfa2ffbd31636dfd49a41e2ca (patch)
tree1a61b6d360ac983e3e1d8ef916b2a5d6f10c2598 /util/romcc/tests/simple_test46.c
parentcc8665eacc389318191aa6fe1b04b29580cc84ae (diff)
util: Fix typo on plural form of index
Change-Id: Idc165f8eafacf3130a29b701bc3610c1a67f69d5 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32855 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jacob Garber <jgarber1@ualberta.ca>
Diffstat (limited to 'util/romcc/tests/simple_test46.c')
-rw-r--r--util/romcc/tests/simple_test46.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/romcc/tests/simple_test46.c b/util/romcc/tests/simple_test46.c
index 0b831254a1..2d3764e458 100644
--- a/util/romcc/tests/simple_test46.c
+++ b/util/romcc/tests/simple_test46.c
@@ -1,6 +1,6 @@
static void spd_set_memclk(void)
{
- static const int indicies[] = { 26, 23, 9 };
+ static const int indices[] = { 26, 23, 9 };
int new_cycle_time, new_latency;
int index;
unsigned min_cycle_time, min_latency;
@@ -15,7 +15,7 @@ static void spd_set_memclk(void)
for(index = 0; index < 3; index++) {
unsigned long loops;
unsigned long address;
- address = indicies[index];
+ address = indices[index];
loops = 1000000;
do {
} while(--loops);