[coreboot] [PATCH] lists of links

Myles Watson mylesgw at gmail.com
Wed Jun 9 23:49:43 CEST 2010


On Wed, Jun 9, 2010 at 8:57 AM, Myles Watson <mylesgw at 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 at gmail.com>

Removed some warnings and fixed static.c generation when the
southbridge link is not 0.

Thanks,
Myles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: links.diff
Type: text/x-patch
Size: 102219 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100609/6957faff/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fam10_pci.diff
Type: text/x-patch
Size: 31708 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100609/6957faff/attachment-0001.diff>


More information about the coreboot mailing list