[coreboot] [PATCH] unavailable resources

Myles Watson mylesgw at gmail.com
Fri Jun 4 18:36:24 CEST 2010


		if (!(res->flags & IORESOURCE_FIXED))
			continue;
...

 		/* Is it already outside the limits? */
-		if (((res->base + res->size -1) < lim->base) || (res->base > lim->limit))
+		if (((res->base + res->size -1) < lim->base) || (res->base > lim->limit)) {
+			printk(BIOS_ERR, "%s: Resources not available.\n", dev_path(dev));
 			continue;
+		}

This code only is executed for fixed resources.  If they are outside
of the limits it's a good thing.  I don't think there should be an
error message.

Thanks,
Myles




More information about the coreboot mailing list