coreboot/src/soc/amd
Felix Held 9fde88973a 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>
2022-10-20 16:44:16 +00:00
..
cezanne soc/amd/cezanne/uart: introduce and use soc_get_uart_ctrlr_info 2022-10-20 16:44:16 +00:00
common soc/amd: introduce and use common soc_uart_ctrlr_info struct 2022-10-20 16:39:24 +00:00
mendocino soc/amd/*/uart: add missing soc/iomap.h include 2022-10-20 16:40:59 +00:00
morgana soc/amd/*/uart: add missing soc/iomap.h include 2022-10-20 16:40:59 +00:00
picasso soc/amd/picasso/uart: introduce and use soc_get_uart_ctrlr_info 2022-10-20 16:44:09 +00:00
stoneyridge soc/amd/stoneyridge: initialize GPIOs for serial console 2022-10-20 16:41:53 +00:00