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@noos.fr>
Reviewed-on: https://review.coreboot.org/28629
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Elyes HAOUAS 2018-09-16 16:57:23 +02:00 committed by Patrick Georgi
parent de028789fd
commit 8ce59d522b
1 changed files with 1 additions and 1 deletions

View File

@ -583,7 +583,7 @@ static unsigned long acpi_fill_ivrs(acpi_ivrs_t *ivrs, unsigned long current)
{ {
uint8_t *p; 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) { if (!nb_dev) {
printk(BIOS_WARNING, "%s: G-series northbridge device not present!\n", __func__); printk(BIOS_WARNING, "%s: G-series northbridge device not present!\n", __func__);