Author: hailfinger Date: 2008-02-16 00:58:09 +0100 (Sat, 16 Feb 2008) New Revision: 602
Modified: coreboot-v3/include/arch/x86/pciconf.h Log: Remove dead code protected by #if 0 since it appeared.
Signed-off-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net Acked-by: Marc Jones marc.jones@amd.com
Modified: coreboot-v3/include/arch/x86/pciconf.h =================================================================== --- coreboot-v3/include/arch/x86/pciconf.h 2008-02-15 19:27:13 UTC (rev 601) +++ coreboot-v3/include/arch/x86/pciconf.h 2008-02-15 23:58:09 UTC (rev 602) @@ -8,15 +8,6 @@ #define PCI_CONF_REG_INDEX 0xcf8 #define PCI_CONF_REG_DATA 0xcfc
-/* WTF for now */ -#if 0 -#if PCI_IO_CFG_EXT == 0 -#define CONFIG_ADDR(bus,devfn,where) (((bus) << 16) | ((devfn) << 8) | (where)) -#else -#define CONFIG_ADDR(bus,devfn,where) (((bus) << 16) | ((devfn) << 8) | (where & 0xff) | ((where & 0xf00)<<16) ) #endif -#endif -#define CONFIG_ADDR(bus,devfn,where) (((bus) << 16) | ((devfn) << 8) | (where)) -#endif
#endif /* ARCH_X86_PCICONF_H */