From 71714838a675e24e9e15da13bf70bfa3eae5a159 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Fri, 23 May 2014 23:40:14 +0300 Subject: Drop PCI_BDF macro declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: http://review.coreboot.org/5835 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/include/device/pci_def.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/include/device') diff --git a/src/include/device/pci_def.h b/src/include/device/pci_def.h index d8b655a8a4..00d68ad5dc 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) -- cgit v1.2.3