commit | e7377556cc33b10fdba6d956ac83d823478f5eb4 | [log] [tgz] |
---|---|---|
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | Thu Jun 21 16:20:55 2018 +0300 |
committer | Felix Held <felix-coreboot@felixheld.de> | Sun Jan 06 13:09:54 2019 +0000 |
tree | 8843182316aed1730edb12aa0fbc18de4d3be414 | |
parent | c70eed1e6202c928803f3e7f79161cd247a62b23 [diff] |
device: Use pcidev_path_on_root() Change-Id: I2e28b9f4ecaf258bff8a062b5a54cb3d8e2bb9b0 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/30400 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
diff --git a/src/northbridge/intel/gm45/raminit.c b/src/northbridge/intel/gm45/raminit.c index 2d7965f..4996c86 100644 --- a/src/northbridge/intel/gm45/raminit.c +++ b/src/northbridge/intel/gm45/raminit.c
@@ -1165,7 +1165,7 @@ const struct device *dev; const struct northbridge_intel_gm45_config *cfg = NULL; - dev = dev_find_slot(0, HOST_BRIDGE); + dev = pcidev_path_on_root(HOST_BRIDGE); if (dev) cfg = dev->chip_info;