diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-12-05 11:03:36 +0100 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-01-04 12:11:18 +0000 |
commit | f9e47cc4c2ddefaaa91ddae25449803cdd5243b8 (patch) | |
tree | f7023399c4eb45a4f8dbcc47c42ecb7c7c78ab33 /src/arch | |
parent | 4139c15276a62c32c8d976c41782073379d64585 (diff) | |
download | coreboot-f9e47cc4c2ddefaaa91ddae25449803cdd5243b8.tar.xz |
src: Get rid of device_t
Use of device_t is deprecated.
Change-Id: Ie05869901ac33d7089e21110f46c1241f7ee731f
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/30047
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/arm/include/arch/pci_ops.h | 3 | ||||
-rw-r--r-- | src/arch/arm64/include/arch/pci_ops.h | 3 | ||||
-rw-r--r-- | src/arch/mips/include/arch/pci_ops.h | 3 | ||||
-rw-r--r-- | src/arch/x86/include/arch/io.h | 6 |
4 files changed, 0 insertions, 15 deletions
diff --git a/src/arch/arm/include/arch/pci_ops.h b/src/arch/arm/include/arch/pci_ops.h index 2e2661b744..533ad8097a 100644 --- a/src/arch/arm/include/arch/pci_ops.h +++ b/src/arch/arm/include/arch/pci_ops.h @@ -21,9 +21,6 @@ typedef u32 pci_devfn_t; #ifdef __SIMPLE_DEVICE__ -// FIXME: Use of device_t is deprecated -typedef pci_devfn_t device_t; - u8 pci_read_config8(pci_devfn_t dev, unsigned int where); u16 pci_read_config16(pci_devfn_t dev, unsigned int where); u32 pci_read_config32(pci_devfn_t dev, unsigned int where); diff --git a/src/arch/arm64/include/arch/pci_ops.h b/src/arch/arm64/include/arch/pci_ops.h index e6d5206955..32e7601d9c 100644 --- a/src/arch/arm64/include/arch/pci_ops.h +++ b/src/arch/arm64/include/arch/pci_ops.h @@ -21,9 +21,6 @@ typedef u32 pci_devfn_t; #ifdef __SIMPLE_DEVICE__ -// FIXME: Use of device_t is deprecated -typedef pci_devfn_t device_t; - u8 pci_read_config8(pci_devfn_t dev, unsigned int where); u16 pci_read_config16(pci_devfn_t dev, unsigned int where); u32 pci_read_config32(pci_devfn_t dev, unsigned int where); diff --git a/src/arch/mips/include/arch/pci_ops.h b/src/arch/mips/include/arch/pci_ops.h index 5fef126f2f..f57befa31e 100644 --- a/src/arch/mips/include/arch/pci_ops.h +++ b/src/arch/mips/include/arch/pci_ops.h @@ -21,9 +21,6 @@ typedef u32 pci_devfn_t; #ifdef __SIMPLE_DEVICE__ -// FIXME: Use of device_t is deprecated -typedef pci_devfn_t device_t; - u8 pci_read_config8(pci_devfn_t dev, unsigned int where); u16 pci_read_config16(pci_devfn_t dev, unsigned int where); u32 pci_read_config32(pci_devfn_t dev, unsigned int where); diff --git a/src/arch/x86/include/arch/io.h b/src/arch/x86/include/arch/io.h index 1b0fdb0515..f47973e2fb 100644 --- a/src/arch/x86/include/arch/io.h +++ b/src/arch/x86/include/arch/io.h @@ -18,8 +18,6 @@ #include <stdint.h> #include <rules.h> -/* FIXME: Sources for romstage still use device_t. */ -/* Use pci_devfn_t or pnp_devfn_t instead */ typedef u32 pci_devfn_t; typedef u32 pnp_devfn_t; @@ -256,10 +254,6 @@ static inline int __ffs(u32 value) #define PNP_DEV(PORT, FUNC) (((PORT) << 8) | (FUNC)) -/* FIXME: Sources for romstage still use device_t. */ -/* Use pci_devfn_t or pnp_devfn_t instead */ -typedef u32 device_t; - /* FIXME: We need to make the coreboot to run at 64bit mode, So when read/write * memory above 4G, We don't need to set %fs, and %gs anymore * Before that We need to use %gs, and leave %fs to other RAM access |