Don't try to set fixed resources. Trivial.
Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4918 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
4374f428ff
commit
eb81a5b5fc
|
@ -479,6 +479,11 @@ static void pci_set_resource(struct device *dev, struct resource *resource)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* If this resource is fixed don't worry about it. */
|
||||||
|
if (resource->flags & IORESOURCE_FIXED) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/* If I have already stored this resource don't worry about it. */
|
/* If I have already stored this resource don't worry about it. */
|
||||||
if (resource->flags & IORESOURCE_STORED) {
|
if (resource->flags & IORESOURCE_STORED) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue