diff options
author | Antonello Dettori <dev@dettori.io> | 2016-09-03 10:45:33 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-13 17:17:02 +0200 |
commit | f65ccb2cd643b1b1992fef617c4ca6b7e5987ac5 (patch) | |
tree | fc4e138e65ef73196e88f11fe64032363de57e3b /src/northbridge/amd/amdfam10/amdfam10.h | |
parent | 30d55bf001dc01b093a181c791ddd1c3d82ceb7a (diff) |
northbridge/amd/amdfam10: transition away from device_t
Replace the use of the old device_t definition inside
northbridge/amd/amdfam10.
Change-Id: I5037feb31c51d06ccc672b0771d5d6e8c0dac949
Signed-off-by: Antonello Dettori <dev@dettori.io>
Reviewed-on: https://review.coreboot.org/16466
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/northbridge/amd/amdfam10/amdfam10.h')
-rw-r--r-- | src/northbridge/amd/amdfam10/amdfam10.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/northbridge/amd/amdfam10/amdfam10.h b/src/northbridge/amd/amdfam10/amdfam10.h index c0bfc5a5d5..4c3aec60eb 100644 --- a/src/northbridge/amd/amdfam10/amdfam10.h +++ b/src/northbridge/amd/amdfam10/amdfam10.h @@ -984,10 +984,10 @@ that are corresponding to 0x01, 0x02, 0x03, 0x05, 0x06, 0x07 #endif struct link_pair_t { - device_t udev; + pci_devfn_t udev; u32 upos; u32 uoffs; - device_t dev; + pci_devfn_t dev; u32 pos; u32 offs; u8 host; @@ -1048,7 +1048,7 @@ device_t get_node_pci(u32 nodeid, u32 fn); #endif #ifdef __PRE_RAM__ -void showallroutes(int level, device_t dev); +void showallroutes(int level, pci_devfn_t dev); void setup_resource_map_offset(const u32 *register_values, u32 max, u32 offset_pci_dev, u32 offset_io_base); @@ -1072,9 +1072,11 @@ BOOL AMD_CB_ManualBUIDSwapList(u8 Node, u8 Link, const u8 **List); struct acpi_rsdp; +#ifndef __SIMPLE_DEVICE__ unsigned long northbridge_write_acpi_tables(device_t device, unsigned long start, struct acpi_rsdp *rsdp); void northbridge_acpi_write_vars(device_t device); +#endif #endif /* AMDFAM10_H */ |