mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
- Comment on why optimize_link_read_pointers is safe on an Athlon64
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1785 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
cb364958a0
commit
bec8acedf1
1 changed files with 1 additions and 0 deletions
|
@ -606,6 +606,7 @@ static int optimize_link_read_pointers(unsigned nodes, int needs_reset)
|
|||
for(link = 0; link < 3; link = link + 1) {
|
||||
uint32_t link_type;
|
||||
unsigned reg;
|
||||
/* This works on an Athlon64 because unimplemented links return 0 */
|
||||
reg = 0x98 + (link * 0x20);
|
||||
link_type = pci_read_config32(f0_dev, reg);
|
||||
if (link_type & LinkConnected) {
|
||||
|
|
Loading…
Add table
Reference in a new issue