aboutsummaryrefslogtreecommitdiff
path: root/src/northbridge/amd/agesa/family15/northbridge.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2015-03-21 11:11:58 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2015-06-05 10:19:27 +0200
commit09705ab72457423fc88672cda932f474fee0cfbe (patch)
tree2f5eba149a9669e7979b04ec7ee1561d7574c8ec /src/northbridge/amd/agesa/family15/northbridge.c
parented7bc2c9cfc690cdb23cc9eb317511431c779e89 (diff)
AMD K8 fam10: Use parent subordinate to track HT enumeration
Change-Id: I930f2beacdc95d0a7edd07db66a1c2e58bb2f3cd Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/8566 Tested-by: build bot (Jenkins) Reviewed-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Diffstat (limited to 'src/northbridge/amd/agesa/family15/northbridge.c')
-rw-r--r--src/northbridge/amd/agesa/family15/northbridge.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/northbridge/amd/agesa/family15/northbridge.c b/src/northbridge/amd/agesa/family15/northbridge.c
index 94e16acea6..f13e3981af 100644
--- a/src/northbridge/amd/agesa/family15/northbridge.c
+++ b/src/northbridge/amd/agesa/family15/northbridge.c
@@ -465,7 +465,6 @@ static void scan_chains(device_t dev)
struct bus *link;
device_t io_hub = NULL;
u32 next_unitid = 0x18;
- unsigned int max = dev->bus->subordinate;
nodeid = amdfam15_nodeid(dev);
if (nodeid == 0) {
@@ -481,10 +480,7 @@ static void scan_chains(device_t dev)
pci_scan_bus(link, 0x00, ((next_unitid - 1) << 3) | 7);
}
}
- max = dev->bus->subordinate;
}
-
- dev->bus->subordinate = max;
}