summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-10-18 20:22:24 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-10-20 16:45:17 +0000
commit957e232277072dfd9998d19c948fb9c1870ef4e3 (patch)
treec0f0d399fa7574ace3e5a3f5dbfb20828f92b20c /src/lib
parentceab0fbc59e19b89c429e0aef9c8fa200c276e4f (diff)
soc/amd/morgana/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: I80278f1a098b389d78f8e9a9fb875c4e466dc5db Reviewed-on: https://review.coreboot.org/c/coreboot/+/68537 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions