diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-27 17:40:58 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2018-06-04 02:36:19 +0000 |
commit | 2ec4183c3c93728e5f94e57fe1d10d72843ca7ec (patch) | |
tree | 97c0934bc174e1407a61b1f57f6c2388925e6c4a /src/soc/intel/denverton_ns/chip.c | |
parent | 143fb46d47f8450d91820cf8f5ec6d9f524e8e49 (diff) | |
download | coreboot-2ec4183c3c93728e5f94e57fe1d10d72843ca7ec.tar.xz |
soc/intel/denverton_ns: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I15e624b40d11f61a3870a6083be82d062690498d
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26587
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/soc/intel/denverton_ns/chip.c')
-rw-r--r-- | src/soc/intel/denverton_ns/chip.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/soc/intel/denverton_ns/chip.c b/src/soc/intel/denverton_ns/chip.c index a19f32a834..05dcb76bd3 100644 --- a/src/soc/intel/denverton_ns/chip.c +++ b/src/soc/intel/denverton_ns/chip.c @@ -34,7 +34,7 @@ #include <spi-generic.h> #include <soc/hob_mem.h> -static void pci_domain_set_resources(device_t dev) +static void pci_domain_set_resources(struct device *dev) { assign_resources(dev->link_list); } @@ -56,7 +56,7 @@ static struct device_operations cpu_bus_ops = { #endif }; -static void soc_enable_dev(device_t dev) +static void soc_enable_dev(struct device *dev) { /* Set the operations if it is a special bus type */ if (dev->path.type == DEVICE_PATH_DOMAIN) @@ -130,7 +130,8 @@ struct chip_operations soc_intel_denverton_ns_ops = { .final = &soc_final }; -static void soc_set_subsystem(device_t dev, uint32_t vendor, uint32_t device) +static void soc_set_subsystem(struct device *dev, uint32_t vendor, + uint32_t device) { if (!vendor || !device) { pci_write_config32(dev, PCI_SUBSYSTEM_VENDOR_ID, |