[PATCH v5 5/6] pci: Add a macro to convert BDF from linux to U-Boot

Tom Rini trini at konsulko.com
Sun Apr 26 13:26:41 CEST 2020


On Wed, Apr 08, 2020 at 08:32:59AM -0600, Simon Glass wrote:

> U-Boot's BDF format has its bits in the same position as the device tree
> PCI definition.
> 
> Some x86 devices use linux format in their register format and it is
> useful to be able to convert to U-Boot format. Add a macro for this.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200426/cec0c231/attachment.sig>


More information about the U-Boot mailing list