]> git.baikalelectronics.ru Git - uboot.git/commit
serial: ns16550: Add a PCI device/function field
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:56:18 +0000 (08:56 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:43 +0000 (13:57 +0800)
commit424eef085bc1d6e6af76ded75987e1970a006c74
tree088b6b365552bc67f2d8813252f8f43c564b9547
parent458f7d4f17b6e4e0fd5beb6edc4ea787c7dd9242
serial: ns16550: Add a PCI device/function field

When this UART is used early in boot (before PCI is set up) it is
convenient to store the PCI BDF of the UART so that it can be manually
configured. This is useful when it is used as a debug UART, for example.

Add a new field to hold this information, so that drivers can simply use
the existing platform data.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
include/ns16550.h