Shuo Liu has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/82098?usp=email )
Change subject: device_util: Set resource limit in fixed_resource_range_idx ......................................................................
device_util: Set resource limit in fixed_resource_range_idx
Change-Id: Idbd7cf21b4375a891f9149194445ba44af02642a Signed-off-by: Shuo Liu shuo.liu@intel.com --- M src/device/device_util.c 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/98/82098/1
diff --git a/src/device/device_util.c b/src/device/device_util.c index 7dcf081..312ef17 100644 --- a/src/device/device_util.c +++ b/src/device/device_util.c @@ -786,6 +786,7 @@ resource = new_resource(dev, index); resource->base = base; resource->size = size; + resource->limit = base + size - 1; resource->flags = IORESOURCE_FIXED | IORESOURCE_ASSIGNED; resource->flags |= flags;