refactor(lib/smc): Update RIPAS defs to align with RMI header
The ripas defintions internally used in the code is renamed
to have RIPAS_ prefixes to avoid conflict with the RMI header.
Signed-off-by: Yousuf A <yousuf.sait@arm.com>
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Change-Id: Iac7858a2ca0d51978673980acc90ab2daa48296b
diff --git a/lib/realm/src/s2tt.c b/lib/realm/src/s2tt.c
index 0f8a4bf..e5aa289 100644
--- a/lib/realm/src/s2tt.c
+++ b/lib/realm/src/s2tt.c
@@ -394,7 +394,7 @@
*/
unsigned long s2tte_create_ripas(enum ripas ripas)
{
- if (ripas == RMI_EMPTY) {
+ if (ripas == RIPAS_EMPTY) {
return S2TTE_INVALID_RIPAS_EMPTY;
}
return S2TTE_INVALID_RIPAS_RAM;
@@ -638,10 +638,10 @@
}
if (desc_ripas == S2TTE_INVALID_RIPAS_EMPTY) {
- return RMI_EMPTY;
+ return RIPAS_EMPTY;
}
- return RMI_RAM;
+ return RIPAS_RAM;
}
/*