From 2d5920e5ba0bff2f8dd2596a230084395aef7b72 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Thu, 8 Jan 2009 17:21:37 +0000 Subject: [PATCH] Remove unused pciconf.h header with constants that everyone uses by value instead per convention Signed-off-by: Mart Raudsepp Acked-by: Peter Stuge git-svn-id: svn://coreboot.org/repository/coreboot-v3@1110 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- arch/x86/pci_ops_auto.c | 1 - arch/x86/pci_ops_conf1.c | 1 - arch/x86/pci_ops_mmconf.c | 1 - device/pci_ops.c | 1 - include/arch/x86/pciconf.h | 13 ------------- 5 files changed, 17 deletions(-) delete mode 100644 include/arch/x86/pciconf.h diff --git a/arch/x86/pci_ops_auto.c b/arch/x86/pci_ops_auto.c index 33634bceb3..d5fbe43eab 100644 --- a/arch/x86/pci_ops_auto.c +++ b/arch/x86/pci_ops_auto.c @@ -1,6 +1,5 @@ #include #include -#include #include #include #include diff --git a/arch/x86/pci_ops_conf1.c b/arch/x86/pci_ops_conf1.c index a9a7fea33b..83b06ea551 100644 --- a/arch/x86/pci_ops_conf1.c +++ b/arch/x86/pci_ops_conf1.c @@ -1,6 +1,5 @@ #include #include -#include #include #include #include diff --git a/arch/x86/pci_ops_mmconf.c b/arch/x86/pci_ops_mmconf.c index e09692c0e6..358e2d2485 100644 --- a/arch/x86/pci_ops_mmconf.c +++ b/arch/x86/pci_ops_mmconf.c @@ -1,6 +1,5 @@ #include #include -#include #include #include #include diff --git a/device/pci_ops.c b/device/pci_ops.c index 411f927ee1..21097015c2 100644 --- a/device/pci_ops.c +++ b/device/pci_ops.c @@ -20,7 +20,6 @@ #include #include -#include #include #include #include diff --git a/include/arch/x86/pciconf.h b/include/arch/x86/pciconf.h deleted file mode 100644 index 265dac709e..0000000000 --- a/include/arch/x86/pciconf.h +++ /dev/null @@ -1,13 +0,0 @@ -#ifndef ARCH_X86_PCICONF_H -#define ARCH_X86_PCICONF_H - -#ifndef PCI_CONF_REG_INDEX - -// These are defined in the PCI spec, and hence are theoretically -// inclusive of ANYTHING that uses a PCI bus. -#define PCI_CONF_REG_INDEX 0xcf8 -#define PCI_CONF_REG_DATA 0xcfc - -#endif - -#endif /* ARCH_X86_PCICONF_H */