diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2022-10-18 20:21:58 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-10-20 16:44:16 +0000 |
commit | 9fde88973ae16636c81107f9b5043cbb280dd91a (patch) | |
tree | ca73341c5b3fe1859d52fa5aaf77bcee3d06bb3d /src/soc/amd/cezanne/fw.cfg | |
parent | 6101dcf6703527b05e7d99e3149f0ce0125732d5 (diff) |
soc/amd/cezanne/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: Iab1aec44c55570aa8085aeaf68ec69fe6de0f2ba
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68535
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/soc/amd/cezanne/fw.cfg')
0 files changed, 0 insertions, 0 deletions