Furquan Shaikh has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/38674 )
Change subject: WIP: Add mmio_readonly_resource helper macro ......................................................................
WIP: Add mmio_readonly_resource helper macro
Change-Id: Ic362861e20fed7f33fd9b24d25ad727387aca101 Signed-off-by: Furquan Shaikh furquan@google.com --- M src/include/device/device.h 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/38674/1
diff --git a/src/include/device/device.h b/src/include/device/device.h index 2d7400b..b6c3e6c 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -269,6 +269,9 @@ #define mmio_resource(dev, idx, basek, sizek) \ fixed_mem_resource(dev, idx, basek, sizek, IORESOURCE_RESERVE)
+#define mmio_readonly_resource(dev, idx, basek, sizek) \ + fixed_mem_resource(dev, idx, basek, sizek, IORESOURCE_RESERVE | IORESOURCE_READONLY) + #define io_resource(dev, idx, base, size) \ fixed_io_resource(dev, idx, base, size)
Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/38674 )
Change subject: WIP: Add mmio_readonly_resource helper macro ......................................................................
Patch Set 1: Code-Review-2
Stefan Reinauer has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/38674?usp=email )
Change subject: WIP: Add mmio_readonly_resource helper macro ......................................................................
Abandoned