[coreboot-gerrit] Change in coreboot[master]: mb/broadcom: Get rid of device_t
Elyes HAOUAS (Code Review)
gerrit at coreboot.org
Fri May 4 20:19:40 CEST 2018
Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/26080
Change subject: mb/broadcom: Get rid of device_t
......................................................................
mb/broadcom: Get rid of device_t
Use of device_t has been abandoned in ramstage.
Change-Id: Icf7c99ca55d2bcbca2c974d59a63e89758ba5ea6
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/mainboard/broadcom/blast/get_bus_conf.c
M src/mainboard/broadcom/blast/mptable.c
2 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/80/26080/1
diff --git a/src/mainboard/broadcom/blast/get_bus_conf.c b/src/mainboard/broadcom/blast/get_bus_conf.c
index c344ea3..879178a 100644
--- a/src/mainboard/broadcom/blast/get_bus_conf.c
+++ b/src/mainboard/broadcom/blast/get_bus_conf.c
@@ -48,7 +48,7 @@
unsigned apicid_base;
- device_t dev;
+ struct device *dev;
int i;
if (get_bus_conf_done == 1)
diff --git a/src/mainboard/broadcom/blast/mptable.c b/src/mainboard/broadcom/blast/mptable.c
index 854e255..af7fb7b 100644
--- a/src/mainboard/broadcom/blast/mptable.c
+++ b/src/mainboard/broadcom/blast/mptable.c
@@ -34,7 +34,7 @@
/*I/O APICs: APIC ID Version State Address*/
{
- device_t dev = 0;
+ struct device *dev = 0;
struct resource *res;
for (i = 0; i < 3; i++) {
dev = dev_find_device(0x1166, 0x0235, dev);
@@ -71,7 +71,7 @@
/* enable int */
/* why here? must get the BAR and PCI command bit 1 set before enable it ....*/
{
- device_t dev;
+ struct device *dev;
dev = dev_find_device(0x1166, 0x0205, 0);
if(dev) {
uint32_t dword;
--
To view, visit https://review.coreboot.org/26080
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: Icf7c99ca55d2bcbca2c974d59a63e89758ba5ea6
Gerrit-Change-Number: 26080
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/20180504/254af3e5/attachment-0001.html>
More information about the coreboot-gerrit
mailing list