From 0e480ca6779a1fdce8808471c00c368faf37d4e4 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 17 Aug 2010 07:46:50 +0000 Subject: Clarify comment a bit Signed-off-by: Patrick Georgi Acked-by: Patrick Georgi git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5707 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/devices/device.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/devices/device.c b/src/devices/device.c index 94cd952bdb..434222cc3c 100644 --- a/src/devices/device.c +++ b/src/devices/device.c @@ -583,7 +583,9 @@ static void constrain_resources(struct device *dev, struct constraints* limits) else continue; - /* Is it already outside the limits? */ + /* Is it a fixed resource outside the current known region? + If so, we don't have to consider it - it will be handled + correctly and doesn't affect current region's limits */ if (((res->base + res->size -1) < lim->base) || (res->base > lim->limit)) continue; -- cgit v1.2.3