[coreboot-gerrit] New patch to review for coreboot: 3321099 Drop PCI_BDF macro declaration

Kyösti Mälkki (kyosti.malkki@gmail.com) gerrit at coreboot.org
Fri May 23 22:44:56 CEST 2014


Kyösti Mälkki (kyosti.malkki at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5835

-gerrit

commit 332109978341b168e96b159cf5414e70e853d9e8
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date:   Fri May 23 23:40:14 2014 +0300

    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 at gmail.com>
---
 src/include/device/pci_def.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/include/device/pci_def.h b/src/include/device/pci_def.h
index d8b655a..00d68ad 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)



More information about the coreboot-gerrit mailing list