From 7980349f4f89db004fac5131166f2ba5fa0048fa Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Fri, 15 Feb 2008 23:58:09 +0000 Subject: [PATCH] Remove dead code protected by #if 0 since it appeared. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Marc Jones git-svn-id: svn://coreboot.org/repository/coreboot-v3@602 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- include/arch/x86/pciconf.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/arch/x86/pciconf.h b/include/arch/x86/pciconf.h index e66e611441..265dac709e 100644 --- a/include/arch/x86/pciconf.h +++ b/include/arch/x86/pciconf.h @@ -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 */