diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-05-18 06:57:07 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-05-20 14:45:35 +0000 |
commit | bd96a8430046601dfa2ffbd31636dfd49a41e2ca (patch) | |
tree | 1a61b6d360ac983e3e1d8ef916b2a5d6f10c2598 /util/romcc/tests/raminit_test6.c | |
parent | cc8665eacc389318191aa6fe1b04b29580cc84ae (diff) | |
download | coreboot-bd96a8430046601dfa2ffbd31636dfd49a41e2ca.tar.xz |
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/raminit_test6.c')
-rw-r--r-- | util/romcc/tests/raminit_test6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/romcc/tests/raminit_test6.c b/util/romcc/tests/raminit_test6.c index e99e355e33..8048dcee89 100644 --- a/util/romcc/tests/raminit_test6.c +++ b/util/romcc/tests/raminit_test6.c @@ -1621,7 +1621,7 @@ static const struct mem_param *spd_set_memclk(const struct mem_controller *ctrl) unsigned min_cycle_time, min_latency; int i; 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[] = { [0 ] = 0x50, [1 ] = 0x60, @@ -1651,7 +1651,7 @@ static const struct mem_param *spd_set_memclk(const struct mem_controller *ctrl) (!(latencies & (1 << latency)))) { continue; } - value = spd_read_byte(ctrl->channel0[i], latency_indicies[index]); + value = spd_read_byte(ctrl->channel0[i], latency_indices[index]); if (value < 0) { continue; } @@ -1701,7 +1701,7 @@ static const struct mem_param *spd_set_memclk(const struct mem_controller *ctrl) } - value = spd_read_byte(ctrl->channel0[i], latency_indicies[index]); + value = spd_read_byte(ctrl->channel0[i], latency_indices[index]); if (value <= min_cycle_time) { |