feat(rmm-eac4): update RSI_VERSION, add RSI_FEATURES
This patch updates API of RSI_VERSION and adds new
RSI_FEATURES command handler as per RMM Specification
1.0-eac4.
RSI_ABI_VERSION_MAJOR is updated from 13 to 14.
Signed-off-by: AlexeiFedorov <Alexei.Fedorov@arm.com>
Change-Id: I7d445d18ee7fddf9f20c51f2a45fd334cb17b454
diff --git a/runtime/tests/rsi_logger_tests.cpp b/runtime/tests/rsi_logger_tests.cpp
index ea549c1..3c62041 100644
--- a/runtime/tests/rsi_logger_tests.cpp
+++ b/runtime/tests/rsi_logger_tests.cpp
@@ -54,13 +54,10 @@
/* Fill output values */
switch (status) {
case LOG_SUCCESS:
- regs[0] = (id == SMC_RSI_ABI_VERSION) ?
- RSI_ABI_VERSION : RSI_SUCCESS;
+ regs[0] = RSI_SUCCESS;
break;
case LOG_ERROR:
- regs[0] = (id == SMC_RSI_ABI_VERSION) ?
- RSI_ABI_VERSION :
- test_helpers_get_rand_in_range(RSI_ERROR_INPUT, RSI_INCOMPLETE);
+ regs[0] = test_helpers_get_rand_in_range(RSI_ERROR_INPUT, RSI_INCOMPLETE);
break;
default:
regs[0] = rand();