[coreboot-gerrit] New patch to review for coreboot: a43ecbd arch/armv7: Drop PCI config operations

Kyösti Mälkki (kyosti.malkki@gmail.com) gerrit at coreboot.org
Sun Jul 7 10:21:53 CEST 2013


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/3621

-gerrit

commit a43ecbdac67b2e888c3cbee6f46ba08d0d801758
Author: Kyösti Mälkki <kyosti.malkki at gmail.com>
Date:   Sun Jul 7 11:18:23 2013 +0300

    arch/armv7: Drop PCI config operations
    
    Leave empty stub file to not break includes.
    
    Change-Id: I1c2b47dfccc612e3d342cc3c3083630154869ec2
    Signed-off-by: Kyösti Mälkki <kyosti.malkki at gmail.com>
---
 src/arch/armv7/include/arch/pci_ops.h | 20 +++-----------------
 1 file changed, 3 insertions(+), 17 deletions(-)

diff --git a/src/arch/armv7/include/arch/pci_ops.h b/src/arch/armv7/include/arch/pci_ops.h
index eca9390..1d52bd3 100644
--- a/src/arch/armv7/include/arch/pci_ops.h
+++ b/src/arch/armv7/include/arch/pci_ops.h
@@ -1,19 +1,5 @@
-#ifndef ARCH_I386_PCI_OPS_H
-#define ARCH_I386_PCI_OPS_H
+#ifndef ARCH_ARMV7_PCI_OPS_H
+#define ARCH_ARMV7_PCI_OPS_H
 
-extern const struct pci_bus_operations pci_cf8_conf1;
 
-#if CONFIG_MMCONF_SUPPORT
-extern const struct pci_bus_operations pci_ops_mmconf;
-#endif
-
-static inline const struct pci_bus_operations *pci_config_default(void)
-{
-	return &pci_cf8_conf1;
-}
-
-static inline void pci_set_method(device_t dev)
-{
-	dev->ops->ops_pci_bus = pci_config_default();
-}
-#endif /* ARCH_I386_PCI_OPS_H */
+#endif /* ARCH_ARMV7_PCI_OPS_H */



More information about the coreboot-gerrit mailing list