feat(rme): add dev granules tests
Add tests for RMI_GRANULE_DELEGATE and
RMI_GRANULE_UNDELEGATE commands using
device granules.
Add plat_get_dev_region() function to
retrieve platform PCIe memory region info.
Change-Id: Ie59361dd28e11db348c30b033c156de044aa0ffc
Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com>
diff --git a/include/common/test_helpers.h b/include/common/test_helpers.h
index 1ab35ba..6482d6d 100644
--- a/include/common/test_helpers.h
+++ b/include/common/test_helpers.h
@@ -391,7 +391,7 @@
do { \
u_register_t retrmm = 0U; \
\
- if (!get_armv9_2_feat_rme_support()) { \
+ if (get_armv9_2_feat_rme_support() == 0U) { \
tftf_testcase_printf("FEAT_RME not supported\n"); \
return TEST_RESULT_SKIPPED; \
} \