On Wed, Jun 9, 2010 at 8:57 AM, Myles Watson mylesgw@gmail.com wrote:
Same conversion as with resources from static arrays to lists, except there is no free list.
Converting resource arrays to lists reduced the size of each device struct from 1092 to 228 bytes. Converting link arrays to lists reduced the size of each device struct from 228 to 68 bytes.
fam10_pci.diff makes fam10 and k8 northbridge code a little more similar before the conversion.
The next step for fam10 and k8 would be to reorganize the links so that the southbridge link is always first. This would make some of the code a lot easier to follow. Something to consider would be adding link numbers to the device tree, since that would allow the southbridge link to start in the correct place.
Signed-off-by: Myles Watson mylesgw@gmail.com
Removed some warnings and fixed static.c generation when the southbridge link is not 0.
Thanks, Myles