From 842f0bab0416d223ecda97817fb5326c666b0499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 20 Jun 2013 20:25:21 +0300 Subject: Add pnp_devfn_t and use with __SIMPLE_DEVICE__ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Declare the functions that may be used in both romstage and ramstage with simple device model. This will later allow to define PNP access functions for ramstage using the inlined functions from romstage. Change-Id: I2a0bd8194acaf9c4c7252a29376eec363397e3a6 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/3871 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/include/device/device.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include/device') diff --git a/src/include/device/device.h b/src/include/device/device.h index 1056be775b..c0e6e0f6c6 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -12,6 +12,7 @@ struct device; #ifndef __SIMPLE_DEVICE__ typedef struct device * device_t; typedef u32 pci_devfn_t; +typedef u32 pnp_devfn_t; struct pci_operations; struct pci_bus_operations; struct smbus_bus_operations; -- cgit v1.2.3