diff options
author | Michael Niewöhner <foss@mniewoehner.de> | 2021-01-11 13:21:19 +0100 |
---|---|---|
committer | Michael Niewöhner <foss@mniewoehner.de> | 2021-01-12 23:38:32 +0000 |
commit | f3faddc4868ddec7806cc9413e33225d87a157a4 (patch) | |
tree | 390e92cb83357d424fc5fc246bc7021e8bf3943c /src/soc/intel/icelake/gspi.c | |
parent | 2bec7f0a1183102e142e6c4bdabdbc20252164fd (diff) |
soc/intel: rename uart_max_index
The name `..._index` is confusing since the maximum index of an array is
not `ARRAY_SIZE(array)` but `ARRAY_SIZE(array) - 1`.
Rename `uart_max_index` to `uart_ctrlr_config_size` to make the name
match the variable´s value.
Change-Id: I7409c9dc040c3c6ad718abc96f268c187d50d79c
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49305
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/icelake/gspi.c')
0 files changed, 0 insertions, 0 deletions