Enhancements : Memory usage, clean up and new build option
1. const qualifier added at appropriate places.
2. Cleaned redundant code.
3. New Storage build option introduced.
-DSUITE=STORAGE to build ITS and PS as single archive
-DSUITE=INTERNAL_TRUSTED_STORAGE to build ITS only
-DSUITE=PROTECTED_STORAGE to build PS only
Signed-off-by: Vinay Kumar Kotegowder <vinaykumar.kotegowder@arm.com>
diff --git a/api-tests/val/common/val.h b/api-tests/val/common/val.h
index f7ba5f0..1fb6266 100644
--- a/api-tests/val/common/val.h
+++ b/api-tests/val/common/val.h
@@ -85,9 +85,8 @@
#define VAL_MAX_TEST_PER_COMP 200
#define VAL_FF_BASE 0
#define VAL_CRYPTO_BASE 1
-#define VAL_PROTECTED_STORAGE_BASE 2
-#define VAL_INTERNAL_TRUSTED_STORAGE_BASE 3
-#define VAL_INITIAL_ATTESTATION_BASE 4
+#define VAL_STORAGE_BASE 2
+#define VAL_INITIAL_ATTESTATION_BASE 3
#define VAL_GET_COMP_NUM(test_id) \
((test_id - (test_id % VAL_MAX_TEST_PER_COMP)) / VAL_MAX_TEST_PER_COMP)