From f9e47cc4c2ddefaaa91ddae25449803cdd5243b8 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Wed, 5 Dec 2018 11:03:36 +0100 Subject: src: Get rid of device_t Use of device_t is deprecated. Change-Id: Ie05869901ac33d7089e21110f46c1241f7ee731f Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/30047 Reviewed-by: Patrick Georgi Reviewed-by: Patrick Rudolph Tested-by: build bot (Jenkins) --- src/arch/x86/include/arch/io.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/arch/x86/include') 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 #include -/* 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 -- cgit v1.2.3