[coreboot] r602 - coreboot-v3/include/arch/x86

svn at coreboot.org svn at coreboot.org
Sat Feb 16 00:58:09 CET 2008


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 at gmx.net>
Acked-by: Marc Jones <marc.jones at 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 */





More information about the coreboot mailing list