diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-03-02 16:26:10 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-03-04 14:07:23 +0000 |
commit | 3e6913b389736ba38e104596871e0dac78c09beb (patch) | |
tree | 7130ccc77035e4c61711a093b5f42d9692ebafe5 /src/arch/x86/include | |
parent | e132d5711df1bec0a83eb9deb0f892bb22579df6 (diff) | |
download | coreboot-3e6913b389736ba38e104596871e0dac78c09beb.tar.xz |
arch/io.h: Fix PCI and PNP simple typedefs
Provide clean separation for PCI and PNP headers,
followup will also move PNP outside <arch/io.h>.
Change-Id: I85db254d50f18ea34a5e95bc517eac4085a5fafa
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/31690
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r-- | src/arch/x86/include/arch/io.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/x86/include/arch/io.h b/src/arch/x86/include/arch/io.h index aecf0b634c..98cb15a247 100644 --- a/src/arch/x86/include/arch/io.h +++ b/src/arch/x86/include/arch/io.h @@ -16,7 +16,6 @@ #include <endian.h> #include <stdint.h> -#include <device/pci_type.h> /* * This file contains the definitions for the x86 IO instructions @@ -203,6 +202,8 @@ static __always_inline void write64(volatile void *addr, } #endif +typedef u32 pnp_devfn_t; + #ifdef __SIMPLE_DEVICE__ #define PNP_DEV(PORT, FUNC) (((PORT) << 8) | (FUNC)) |