summaryrefslogtreecommitdiff
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2020-04-08 08:32:59 -0600
committerTom Rini <[email protected]>2020-04-24 16:40:09 -0400
commitf05970380e4c72a198cce29affc622a8e543b4de (patch)
treed7af1df10ef69c36e1b81da035fdb1cf5fcf9a61 /include/linux/kernel.h
parent2c2ca207e4ed7def3f3f33ab930e673a45bb3743 (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 <[email protected]>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions