fix(manifest): add checks for boot order values
FF-A spec (versions 1.0-1.2 ALP0) requires that boot order property must
be a unique value per partition (FF-A v1.2 Chapter 5, Table 5.1
"Partition properties"). Add check in manifest parsing for this
requirement and add corresponding unit test.
Also check that value given is within supported range.
Also fix existing test SPs to fit this requirement.
Signed-off-by: Kathleen Capella <kathleen.capella@arm.com>
Change-Id: Id2a2297ec9c3e6f2f866bab9f53032f8b01f7266
diff --git a/inc/hf/manifest.h b/inc/hf/manifest.h
index ea3bc23..a974498 100644
--- a/inc/hf/manifest.h
+++ b/inc/hf/manifest.h
@@ -86,6 +86,7 @@
MANIFEST_ERROR_ILLEGAL_NS_INT_ACTION,
MANIFEST_ERROR_INTERRUPT_ID_NOT_IN_LIST,
MANIFEST_ERROR_ILLEGAL_OTHER_S_INT_ACTION,
+ MANIFEST_ERROR_INVALID_BOOT_ORDER,
};
enum manifest_return_code manifest_init(struct mm_stage1_locked stage1_locked,