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>
This commit is contained in:
Elyes HAOUAS
2019-05-18 06:57:07 +02:00
committed by Patrick Georgi
parent cc8665eacc
commit bd96a84300
7 changed files with 35 additions and 35 deletions

View File

@@ -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);