commit | 05eb847a6478be3de9d407902306518587b7e4f9 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Sep 25 08:56:18 2019 -0600 |
committer | Bin Meng <bmeng.cn@gmail.com> | Tue Oct 08 13:57:43 2019 +0800 |
tree | 088b6b365552bc67f2d8813252f8f43c564b9547 | |
parent | 23b275900f38ee931edec4fe1aa691e471b998b4 [diff] |
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>