diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2012-07-02 09:41:10 -0700 |
---|---|---|
committer | Sven Schnelle <svens@stackframe.org> | 2012-07-05 23:01:42 +0200 |
commit | 97de28da8af758b85c644b3dc151aeb743e13412 (patch) | |
tree | 11823473dd850f8cdaf0be2b97cef64ddfb30d8f /src/devices/oprom | |
parent | 63539bb9d7fe9ae55a364cadfcbd79ecb98a9412 (diff) |
PCI Type2 config must die
PCI Type 2 config was a strange and never-used config mechanism.
It is unlikely that in the 13 years of coreboot's existence that
type 2 was ever used; it just made life complicated for everyone.
It lived long enough in coreboot to be replaced by mmioconf.
Prior to making the device tree visible in romstage we want to
get rid of type2.
Delete two files we don't need any more (yay!).
Replace two functions with one: pci_config_default, which returns
a pointer to the default config method. At some future time this
may change to mmio but for now it is old type1 style.
Change-Id: Icc4ccf379a89bfca8be43f305b68ab45d88bf0ab
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: http://review.coreboot.org/1159
Tested-by: build bot (Jenkins)
Reviewed-by: Sven Schnelle <svens@stackframe.org>
Diffstat (limited to 'src/devices/oprom')
-rw-r--r-- | src/devices/oprom/x86_interrupts.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/devices/oprom/x86_interrupts.c b/src/devices/oprom/x86_interrupts.c index bada546c90..2ea05d44ba 100644 --- a/src/devices/oprom/x86_interrupts.c +++ b/src/devices/oprom/x86_interrupts.c @@ -114,9 +114,7 @@ int int16_handler(struct eregs *regs) } #define PCI_CONFIG_SPACE_TYPE1 (1 << 0) -#define PCI_CONFIG_SPACE_TYPE2 (1 << 1) #define PCI_SPECIAL_CYCLE_TYPE1 (1 << 4) -#define PCI_SPECIAL_CYCLE_TYPE2 (1 << 5) int int1a_handler(struct eregs *regs) { |