coreboot-kgpe-d16/src
Kyösti Mälkki 59d609217b AMD fam10: Fix add_more_links
One PCI function may contain upto 4 links, further links must
be added to PCI function 4 on the same device.

There is no requirement that in dev->link_list the last element
would have the highest link->link_num.

Also fix off-by-one error when allocating for more links.

Change-Id: If7ebdd1ad52653d3757b5930bd0a83e2cf2fcac6
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/8555
Tested-by: build bot (Jenkins)
Reviewed-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
2015-06-05 10:14:21 +02:00
..
arch arch/x86: No need to specify -Wa,--divide in a Makefile 2015-06-04 20:01:52 +02:00
console consoles: remove unused infrastructure 2015-05-26 19:02:54 +02:00
cpu Remove address from GPLv2 headers 2015-06-04 10:06:40 +02:00
device devicetree: Change scan_bus() prototype in device ops 2015-06-04 11:22:53 +02:00
drivers devicetree: Discriminate device ops scan_bus() 2015-06-04 11:19:01 +02:00
ec lenovo: Move pc_keyboard_init to h8 init. 2015-05-29 07:45:55 +02:00
include devicetree: Change scan_bus() prototype in device ops 2015-06-04 11:22:53 +02:00
lib assets: abstract away the firmware assets used for booting 2015-06-02 14:10:08 +02:00
mainboard devicetree: Change scan_bus() prototype in device ops 2015-06-04 11:22:53 +02:00
northbridge AMD fam10: Fix add_more_links 2015-06-05 10:14:21 +02:00
soc devicetree: Change scan_bus() prototype in device ops 2015-06-04 11:22:53 +02:00
southbridge devicetree: Change scan_bus() prototype in device ops 2015-06-04 11:22:53 +02:00
superio devicetree: Discriminate device ops scan_bus() 2015-06-04 11:19:01 +02:00
vendorcode assets: abstract away the firmware assets used for booting 2015-06-02 14:10:08 +02:00
Kconfig Kconfig: Remove RELOCATABLE_MODULES. 2015-06-02 21:01:02 +02:00