[coreboot-gerrit] Patch set updated for coreboot: northbridge/intel/i945: transition away from device_t
Antonello Dettori (dev@dettori.io)
gerrit at coreboot.org
Wed Aug 31 10:52:13 CEST 2016
Antonello Dettori (dev at dettori.io) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/16371
-gerrit
commit 2488e3d000e82ad4f1f1f29080e223154b21d7d4
Author: Antonello Dettori <dev at dettori.io>
Date: Tue Aug 30 22:11:24 2016 +0200
northbridge/intel/i945: transition away from device_t
Replace the use of the old device_t definition inside
northbridge/intel/i945.
The patch has been tested both with the arch/io.h definition of
device_t enabled and disabled in order to ensure compatibility
while the transaction takes place.
Change-Id: I041c150a7b50261e26955ad9287ef05b9a06e412
Signed-off-by: Antonello Dettori <dev at dettori.io>
---
src/northbridge/intel/i945/debug.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/northbridge/intel/i945/debug.c b/src/northbridge/intel/i945/debug.c
index d26e84e..65189bd 100644
--- a/src/northbridge/intel/i945/debug.c
+++ b/src/northbridge/intel/i945/debug.c
@@ -23,7 +23,7 @@
void print_pci_devices(void)
{
- device_t dev;
+ pci_devfn_t dev;
for(dev = PCI_DEV(0, 0, 0);
dev <= PCI_DEV(0, 0x1f, 0x7);
dev += PCI_DEV(0,0,1)) {
@@ -61,7 +61,7 @@ void dump_pci_device(unsigned dev)
void dump_pci_devices(void)
{
- device_t dev;
+ pci_devfn_t dev;
for(dev = PCI_DEV(0, 0, 0);
dev <= PCI_DEV(0, 0x1f, 0x7);
dev += PCI_DEV(0,0,1)) {
More information about the coreboot-gerrit
mailing list