From 7ee6cd5901a958e9befce90d8a1c4da4b544e5a8 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 23 Jan 2016 01:15:42 +0100 Subject: arch/x86: Drop arch/pciconf.h It's unused, so get rid of it. Change-Id: I28c6dc0208686edc3aabaf624773ea70350c1c8f Signed-off-by: Stefan Reinauer Reviewed-on: https://review.coreboot.org/13177 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/arch/x86/include/arch/pciconf.h | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 src/arch/x86/include/arch/pciconf.h (limited to 'src/arch/x86/include') diff --git a/src/arch/x86/include/arch/pciconf.h b/src/arch/x86/include/arch/pciconf.h deleted file mode 100644 index 2fd4365f01..0000000000 --- a/src/arch/x86/include/arch/pciconf.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - -#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 - -#if !CONFIG_PCI_IO_CFG_EXT -#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 -- cgit v1.2.3