Commit d19ce2cb authored by danh-arm's avatar danh-arm Committed by GitHub
Browse files

Merge pull request #749 from sandrine-bailleux-arm/sb/fix-bl1_plat_mem_check-doc

Porting guide: Improve bl1_plat_mem_check() doc
parents 2b3ce7b8 ba789770
...@@ -1087,13 +1087,15 @@ The default implementation spins forever. ...@@ -1087,13 +1087,15 @@ The default implementation spins forever.
Argument : uintptr_t mem_base, unsigned int mem_size, Argument : uintptr_t mem_base, unsigned int mem_size,
unsigned int flags unsigned int flags
Return : void Return : int
BL1 calls this function while handling FWU copy and authenticate SMCs. The BL1 calls this function while handling FWU copy and authenticate SMCs. The
platform must ensure that the provided `mem_base` and `mem_size` are mapped into platform must ensure that the provided `mem_base` and `mem_size` are mapped into
BL1, and that this memory corresponds to either a secure or non-secure memory BL1, and that this memory corresponds to either a secure or non-secure memory
region as indicated by the security state of the `flags` argument. region as indicated by the security state of the `flags` argument.
This function must return 0 on success, a non-null error code otherwise.
The default implementation of this function asserts therefore platforms must The default implementation of this function asserts therefore platforms must
override it when using the FWU feature. override it when using the FWU feature.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment