[coreboot] [PATCH] resource maps

Myles Watson mylesgw at gmail.com
Mon May 10 21:24:43 CEST 2010


I think there's too much duplication in the resource map code.
resourcemaps.diff tries to address it by:

Creating clear_resource_map() for k8 and fam10.  This sets all the
routing registers to a known state.
Calling clear_resource_map() and then only setting the specific
registers that are non-zero in board-specific code.
Adding util.c for fam10, so that it can be customized for fam10.

I didn't update all of the resourcemap.c files, yet.  I wanted to see
what the reaction would be.

sublinks.diff marks that bit as not reserved for all fam10 boards, so
that it can be cleared.

Signed-off-by: Myles Watson <mylesgw at gmail.com>

Thanks,
Myles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resourcemaps.diff
Type: text/x-patch
Size: 55694 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100510/19bc14ce/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sublinks.diff
Type: text/x-patch
Size: 25071 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100510/19bc14ce/attachment-0001.diff>


More information about the coreboot mailing list