diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2012-07-06 19:02:56 +0300 |
---|---|---|
committer | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2012-08-27 15:35:34 +0200 |
commit | cd9fc1aa5f483818385c4a6c98afee4c8f49ad8e (patch) | |
tree | f667f21df51ab25c76e065128247d65c50552262 /src/cpu | |
parent | 8c0279088266beccdc8953ecf2dd340fa27ed768 (diff) |
AMD northbridges: rewrite CPU allocation
Use of alloc_find_dev() prevents creation of a device duplicates
for device_path and is SMP safe.
Reduce scope of variables to make the code more readable and in
preparation for refactoring the allocation out of northbridge.c.
Change-Id: I153dc1a5cab4f2eae4ab3a57af02841cb1a261c0
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/1186
Tested-by: build bot (Jenkins)
Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/cpu')
0 files changed, 0 insertions, 0 deletions