[coreboot-gerrit] Change in coreboot[master]: nb/amd/pi/00730F01: Don't use device_t in ramstage

Elyes HAOUAS (Code Review) gerrit at coreboot.org
Sun Sep 16 16:59:04 CEST 2018


Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/28629


Change subject: nb/amd/pi/00730F01: Don't use device_t in ramstage
......................................................................

nb/amd/pi/00730F01: Don't use device_t in ramstage

Use of device_t has been abandoned in ramstage

Change-Id: Ifc32b0f6964a8c3e3a100c787ac2a889b39322a6
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/northbridge/amd/pi/00730F01/northbridge.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/29/28629/1

diff --git a/src/northbridge/amd/pi/00730F01/northbridge.c b/src/northbridge/amd/pi/00730F01/northbridge.c
index 2b81998..ab67b43 100644
--- a/src/northbridge/amd/pi/00730F01/northbridge.c
+++ b/src/northbridge/amd/pi/00730F01/northbridge.c
@@ -583,7 +583,7 @@
 {
 	uint8_t *p;
 
-	device_t nb_dev = dev_find_slot(0, PCI_DEVFN(0, 0));
+	struct device *nb_dev = dev_find_slot(0, PCI_DEVFN(0, 0));
 	if (!nb_dev) {
 
 		printk(BIOS_WARNING, "%s: G-series northbridge device not present!\n", __func__);

-- 
To view, visit https://review.coreboot.org/28629
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: Ifc32b0f6964a8c3e3a100c787ac2a889b39322a6
Gerrit-Change-Number: 28629
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/20180916/446e3408/attachment.html>


More information about the coreboot-gerrit mailing list