See patch

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: i...@coresystems.de  • http://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866

Get the resource allocator work nicely on the kontron (with PCIe memory hole)

Signed-off-by: Stefan Reinauer <ste...@coresystems.de>


Index: src/devices/device.c
===================================================================
--- src/devices/device.c        (revision 4842)
+++ src/devices/device.c        (working copy)
@@ -576,7 +576,7 @@
                        continue;
 
                /* Is it already outside the limits? */
-               if (res->size && (((res->base + res->size -1) < lim->base) ||
+               if (!res->size || (((res->base + res->size -1) < lim->base) ||
                                  (res->base > lim->limit)))
                        continue;
 
-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to