[coreboot] [v2] r4876 - trunk/coreboot-v2/src/devices
svn at coreboot.org
svn at coreboot.org
Wed Oct 28 15:57:15 CET 2009
Author: stepan
Date: 2009-10-28 15:57:14 +0100 (Wed, 28 Oct 2009)
New Revision: 4876
Modified:
trunk/coreboot-v2/src/devices/device.c
Log:
The check for zero sized resources is already done earlier. So don't redo it
here. I think we don't ever want to drop the extra check, since it indicates
that the components involved need fixing.
Signed-off-by: Stefan Reinauer <stepan at coresystems.de>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified: trunk/coreboot-v2/src/devices/device.c
===================================================================
--- trunk/coreboot-v2/src/devices/device.c 2009-10-27 23:14:54 UTC (rev 4875)
+++ trunk/coreboot-v2/src/devices/device.c 2009-10-28 14:57:14 UTC (rev 4876)
@@ -576,8 +576,7 @@
continue;
/* Is it already outside the limits? */
- if (res->size && (((res->base + res->size -1) < lim->base) ||
- (res->base > lim->limit)))
+ if (((res->base + res->size -1) < lim->base) || (res->base > lim->limit))
continue;
/* Choose to be above or below fixed resources. This
More information about the coreboot
mailing list