summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2010-08-17 07:46:50 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-08-17 07:46:50 +0000
commit0e480ca6779a1fdce8808471c00c368faf37d4e4 (patch)
tree5bb10e2ccc1f76dd833e8639ae4f7c699f245016 /src
parenta6f000cbb8955e974e7932dbd0c7e4c5d4b650ff (diff)
downloadcoreboot-0e480ca6779a1fdce8808471c00c368faf37d4e4.tar.xz
Clarify comment a bit
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Acked-by: Patrick Georgi <patrick@georgi-clan.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5707 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/devices/device.c4
1 files changed, 3 insertions, 1 deletions
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;