6 Aug 2012 00:23
Patch set updated for coreboot: 1873e5b AMD northbridges: replace alloc_dev() with alloc_find_dev()
Kyösti Mälkki <gerrit <at> coreboot.org>
2012-08-05 22:23:26 GMT
2012-08-05 22:23:26 GMT
Kyösti Mälkki (kyosti.malkki <at> gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1186 -gerrit commit 1873e5b7103dbd639cce3f709d0f0d434eed5125 Author: Kyösti Mälkki <kyosti.malkki <at> gmail.com> Date: Fri Jul 6 19:02:56 2012 +0300 AMD northbridges: replace alloc_dev() with alloc_find_dev() Use of alloc_find_dev() prevents creation of a device duplicates for device_path and is SMP safe. Change-Id: I153dc1a5cab4f2eae4ab3a57af02841cb1a261c0 Signed-off-by: Kyösti Mälkki <kyosti.malkki <at> gmail.com> --- src/northbridge/amd/agesa/family10/northbridge.c | 21 ++++++------------- src/northbridge/amd/agesa/family15/northbridge.c | 19 ++++++----------- src/northbridge/amd/agesa/family15tn/northbridge.c | 19 ++++++----------- src/northbridge/amd/amdfam10/northbridge.c | 21 ++++++------------- src/northbridge/amd/amdk8/northbridge.c | 21 ++++++------------- 5 files changed, 35 insertions(+), 66 deletions(-) diff --git a/src/northbridge/amd/agesa/family10/northbridge.c b/src/northbridge/amd/agesa/family10/northbridge.c index 8cc9475..330c545 100644 --- a/src/northbridge/amd/agesa/family10/northbridge.c +++ b/src/northbridge/amd/agesa/family10/northbridge.c <at> <at> -1393,21 +1393,14 <at> <at> static u32 cpu_bus_scan(device_t dev, u32 max) } cpu_path.apic.apic_id = (lapicid_start * (i/modules + 1)) + ((i % modules) ? (j + (cores_found + 1)) : j);(Continue reading)
RSS Feed