diff options
author | Shuo Liu <shuo.liu@intel.com> | 2022-08-06 01:20:44 +0800 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-08-13 16:38:41 +0000 |
commit | 85894aa5bcb8f53d24aedc0e6b1f4f26ec1ef3e1 (patch) | |
tree | 7d170011455f504969f50393bec5710ca34eec8a /src/device | |
parent | f26d76b062a5ca23c8b30a28ef74ece60d6fb97f (diff) |
tests/lib: Set IORESOURCE_ASSIGNED for bootmem-test and memrange-test
IORESOURCE_ASSIGNED is used to indicate the resource is actually mapped
host physical address space. E.g. PCI BAR resources not mapped are
not regarded as assigned.
In src/include/device/device.h, standard macros, e.g. ram_resource,
mmio_resource, io_resource, et al, are all following the usage above.
This patch updates the bootmem-test and memrange-test to follow the
usage as well.
Change-Id: Ifc19302482038267cef01321a46a72d90ca76d35
Signed-off-by: Shuo Liu <shuo.liu@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66450
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
Reviewed-by: Jan Dabros <jsd@semihalf.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/device')
0 files changed, 0 insertions, 0 deletions