[coreboot] resource allocation part 2

Myles Watson mylesgw at gmail.com
Mon Dec 1 22:33:22 CET 2008

This patch makes specific devices use the updated resource allocation code.

The changes necessary are:
    1. Remove all calls to compute_allocate_resources.
    2. Read children's resources when yours are read.
    3. Don't store resources except in phase4_set_resources.

    A comment for later cleanup efforts.
    Change the resource base from 0x400 to 0x1000 to match the granularity.
    Add the IORESOURCE_BRIDGE flag.
    Read the resources of the grandchildren.
        This should disappear when the domain has the children.
    Update k8_pci_domain_set_resources:
        1. remove compute_allocate_resource call
        2. Change phase4_assign_resources to phase4_set_resources


    Remove calls to compute_allocate_resource.
    Make the VGA resource remain visible.
    Stop passing around nodeid so much.
    Remove unneeded #defines

    Remove NPUML and NPUMB.
    Add a warning for bus disabling.
    Remove bridge_{read|set}_resources (they were there for NPUML)

    Change phase4_assign_resources->phase4_set_resources.

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20081201/503e2cbe/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: specific-resources.diff
Type: text/x-patch
Size: 13904 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20081201/503e2cbe/attachment.diff>

More information about the coreboot mailing list