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/include/ripas.h b/lib/realm/include/ripas.h
index 5aca101..2558384 100644
--- a/lib/realm/include/ripas.h
+++ b/lib/realm/include/ripas.h
@@ -6,9 +6,7 @@
 #ifndef RIPAS_H
 #define RIPAS_H
 
-/* The RmmRipas enumeration representing realm IPA state */
-#define	EMPTY	0U	/* Unused IPA location */
-#define	RAM	1U	/* Private code or data owned by the Realm */
+#include <smc-rmi.h>
 
 /*
  * The RmiRipas enumeration representing realm IPA state.
@@ -16,8 +14,8 @@
  * Map RmmRipas to RmiRipas to simplify code/decode operations.
  */
 enum ripas {
-	RMI_EMPTY = EMPTY,
-	RMI_RAM = RAM
+	RIPAS_EMPTY = RMI_EMPTY,	/* Unused IPA for Realm */
+	RIPAS_RAM = RMI_RAM		/* IPA used for Code/Data by Realm */
 };
 
 #endif /* RIPAS_H */