coreboot/src/soc
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
..
amd soc/amd/cezanne/uart: introduce and use soc_get_uart_ctrlr_info 2022-10-20 16:44:16 +00:00
cavium soc/cavium,ti: Do resource transition 2022-06-29 11:55:01 +00:00
example/min86 src/mb: Add SPDX identifiers to files missing them 2022-08-11 17:52:19 +00:00
intel soc/intel/alderlake: Drop local ufs.asl 2022-10-20 14:40:30 +00:00
mediatek soc/mediatek/mt8186: Add DEVAPC settings for ADSP 2022-10-14 16:03:06 +00:00
nvidia soc/nvidia/tegra210: Remove trailing semicolons 2022-09-30 23:12:01 +00:00
qualcomm soc/qualcomm/sc7280: Remove NVMe init 2022-10-20 16:34:01 +00:00
rockchip soc/rockchip/rk3288/clock.c: Remove trailing semicolon 2022-09-30 23:12:15 +00:00
samsung payloads,src: Replace ALIGN(x, a) by ALIGN_UP(x, a) for clarity 2022-10-13 19:14:57 +00:00
sifive/fu540 src/soc: Get rid of most src/soc/Kconfig files 2022-06-24 03:59:36 +00:00
ti soc/cavium,ti: Do resource transition 2022-06-29 11:55:01 +00:00
ucb/riscv src/soc: Get rid of most src/soc/Kconfig files 2022-06-24 03:59:36 +00:00