[coreboot-gerrit] Change in coreboot[master]: nb/intel/e7505: Get rid of device_t
Elyes HAOUAS (Code Review)
gerrit at coreboot.org
Wed May 9 17:43:40 CEST 2018
Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/26194
Change subject: nb/intel/e7505: Get rid of device_t
......................................................................
nb/intel/e7505: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: I2176ea83fac30052c02d9f6e98c89c40436a38e8
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/northbridge/intel/e7505/northbridge.c
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/94/26194/1
diff --git a/src/northbridge/intel/e7505/northbridge.c b/src/northbridge/intel/e7505/northbridge.c
index 23012d6..9b0f99c 100644
--- a/src/northbridge/intel/e7505/northbridge.c
+++ b/src/northbridge/intel/e7505/northbridge.c
@@ -16,9 +16,9 @@
return current;
}
-static void pci_domain_set_resources(device_t dev)
+static void pci_domain_set_resources(struct device *dev)
{
- device_t mc_dev;
+ struct device *mc_dev;
uint32_t pci_tolm;
pci_tolm = find_pci_tolm(dev->link_list);
@@ -97,7 +97,7 @@
assign_resources(dev->link_list);
}
-static void intel_set_subsystem(device_t dev, unsigned vendor, unsigned device)
+static void intel_set_subsystem(struct device *dev, unsigned vendor, unsigned device)
{
pci_write_config32(dev, PCI_SUBSYSTEM_VENDOR_ID,
((device & 0xffff) << 16) | (vendor & 0xffff));
@@ -116,7 +116,7 @@
.ops_pci = &intel_pci_ops,
};
-static void cpu_bus_init(device_t dev)
+static void cpu_bus_init(struct device *dev)
{
initialize_cpus(dev->link_list);
}
--
To view, visit https://review.coreboot.org/26194
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2176ea83fac30052c02d9f6e98c89c40436a38e8
Gerrit-Change-Number: 26194
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180509/6b9c6be0/attachment-0001.html>
More information about the coreboot-gerrit
mailing list