commit | f05970380e4c72a198cce29affc622a8e543b4de | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Apr 08 08:32:59 2020 -0600 |
committer | Tom Rini <trini@konsulko.com> | Fri Apr 24 16:40:09 2020 -0400 |
tree | d7af1df10ef69c36e1b81da035fdb1cf5fcf9a61 | |
parent | 2c2ca207e4ed7def3f3f33ab930e673a45bb3743 [diff] |
pci: Add a macro to convert BDF from linux to U-Boot 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@chromium.org>