[coreboot] [v2] r4918 - trunk/src/devices
svn at coreboot.org
svn at coreboot.org
Thu Nov 5 21:06:19 CET 2009
Author: myles
Date: 2009-11-05 20:06:19 +0000 (Thu, 05 Nov 2009)
New Revision: 4918
Modified:
trunk/src/devices/pci_device.c
Log:
Don't try to set fixed resources. Trivial.
Signed-off-by: Myles Watson <mylesgw at gmail.com>
Acked-by: Myles Watson <mylesgw at gmail.com>
Modified: trunk/src/devices/pci_device.c
===================================================================
--- trunk/src/devices/pci_device.c 2009-11-05 18:08:16 UTC (rev 4917)
+++ trunk/src/devices/pci_device.c 2009-11-05 20:06:19 UTC (rev 4918)
@@ -479,6 +479,11 @@
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 (resource->flags & IORESOURCE_STORED) {
return;
More information about the coreboot
mailing list