summaryrefslogtreecommitdiff
path: root/src/soc/ti
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2021-01-07 00:16:35 -0800
committerPatrick Georgi <pgeorgi@google.com>2021-01-11 07:41:35 +0000
commit582a0e2dbc103ff22eda5f86dbba7c7a2dccd3f5 (patch)
treec83df7dcf8f4c648288e6f97ca5811cc72f77b9b /src/soc/ti
parent4fa183fe79f5f7fc66750ee0bd2376f5c99ed9b0 (diff)
soc/intel/common/uart: Use simple(_s_) variants of PCI functions
This change updates various uart_* functions to use simple(_s_) variants of PCI functions. This is done for a few reasons: * __SIMPLE_DEVICE__ check can be dropped since the same data type can be used in early stages and ramstage. * Removes the requirement on early stage to walk the device tree to get access to the device structure. This allows linker-based device tree optimizations for early stages. As part of this change, uart_get_device() is refactored and a new function uart_console_get_devfn() is added which returns pci_devfn_t in MMCONF format. It is then used directly by the _s_ variants of PCI functions. Change-Id: I344037828118572ae5eb27c82c496d5e7a508a53 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49213 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/soc/ti')
0 files changed, 0 insertions, 0 deletions