commit | 8ce59d522b939190cafdb18383375989837b6961 | [log] [tgz] |
---|---|---|
author | Elyes HAOUAS <ehaouas@noos.fr> | Sun Sep 16 16:57:23 2018 +0200 |
committer | Patrick Georgi <pgeorgi@google.com> | Tue Sep 18 10:36:48 2018 +0000 |
tree | 6459ba872804a1546d0720ff2acff6326a1dfaaa | |
parent | de028789fda806b358538613d33a9a0a020d3d8c [diff] [blame] |
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>
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__);