summaryrefslogtreecommitdiffstats
path: root/src/include/device/pci_def.h
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-23 23:40:14 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2014-05-25 04:52:57 +0200
commit71714838a675e24e9e15da13bf70bfa3eae5a159 (patch)
tree1ca82ad9b0708dab7846685b87f1f198b5765ddd /src/include/device/pci_def.h
parent8102a9afb87fd96470762f47a42ef9f344777bdb (diff)
downloadcoreboot-71714838a675e24e9e15da13bf70bfa3eae5a159.tar.gz
coreboot-71714838a675e24e9e15da13bf70bfa3eae5a159.tar.bz2
coreboot-71714838a675e24e9e15da13bf70bfa3eae5a159.zip
Drop PCI_BDF macro declaration
Not used and did not have 12 bits reserved to address full PCIe configuration space per every function. Change-Id: Ib04a1eb2487735375b4ee738d48a5bebe41ba3c0 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/5835 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martin.roth@se-eng.com>
Diffstat (limited to 'src/include/device/pci_def.h')
-rw-r--r--src/include/device/pci_def.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/device/pci_def.h b/src/include/device/pci_def.h
index d8b655a8a43b..00d68ad5dc4f 100644
--- a/src/include/device/pci_def.h
+++ b/src/include/device/pci_def.h
@@ -473,7 +473,6 @@
#define PCI_DEVFN(slot,func) ((((slot) & 0x1f) << 3) | ((func) & 0x07))
#define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f)
#define PCI_FUNC(devfn) ((devfn) & 0x07)
-#define PCI_BDF(bus,dev,func) ((bus) << 16 | (dev) << 11 | (func) << 8)
/* Translation from PCI_DEV() to devicetree bus and path.pci.devfn. */
#define PCI_DEV2DEVFN(sdev) (((sdev)>>12) & 0xff)