summaryrefslogtreecommitdiff
path: root/src/lib/gnat/s-imenne.adb
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-10-18 20:22:13 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-10-20 16:45:08 +0000
commitceab0fbc59e19b89c429e0aef9c8fa200c276e4f (patch)
tree07aae896468f65da414a3a16fb44ded2f713da9a /src/lib/gnat/s-imenne.adb
parent9fde88973ae16636c81107f9b5043cbb280dd91a (diff)
soc/amd/mendocino/uart: introduce and use soc_get_uart_ctrlr_info
Introduce and use soc_get_uart_ctrlr_info to access the uart_info array to further decouple uart_info from the code as preparation to factor out most of the code to a common implementation. In order to slightly reduce the number of function calls, pass the size of and pointer to uart_info to get_uart_idx as a parameter instead of calling again soc_get_uart_ctrlr_info in get_uart_idx despite all callers already having the information form the soc_get_uart_ctrlr_info call. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I8cfea274f4c9e908c11429199479aec037a00097 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68536 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/lib/gnat/s-imenne.adb')
0 files changed, 0 insertions, 0 deletions