summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/agesa
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
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')
-rw-r--r--src/northbridge/amd/agesa/family10/northbridge.c3
-rw-r--r--src/northbridge/amd/agesa/family15/northbridge.c4
2 files changed, 0 insertions, 7 deletions
diff --git a/src/northbridge/amd/agesa/family10/northbridge.c b/src/northbridge/amd/agesa/family10/northbridge.c
index 0fe1910577..5938e3275d 100644
--- a/src/northbridge/amd/agesa/family10/northbridge.c
+++ b/src/northbridge/amd/agesa/family10/northbridge.c
@@ -561,7 +561,6 @@ static void amdfam10_scan_chains(device_t dev)
unsigned sblink = sysconf.sblk;
device_t io_hub = NULL;
u32 next_unitid = 0xff;
- unsigned int max = dev->bus->subordinate;
nodeid = amdfam10_nodeid(dev);
if (nodeid == 0) {
@@ -578,8 +577,6 @@ static void amdfam10_scan_chains(device_t dev)
}
max = dev->bus->subordinate;
}
-
- dev->bus->subordinate = max;
}
static struct device_operations northbridge_operations = {
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;
}