Dynamic cfg: Do not populate args if already initialized
This patch modifies the common utility function
`populate_next_bl_params_config()` to only modify the entrypoint arguments
to an executable image only if they are not initialized earlier.
This issue was detected while testing Optee on ARM platforms which needed
the current arguments to be preserved in the absence of corresponding
config files.

Change-Id: I1e3fb4be8176fc173959e72442396dd33a99a316
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@arm.com>
Signed-off-by: David Cunado <david.cunado@arm.com>
1 parent eb4ff4c commit 1cc99de889f43e913b22c2422ff4a10f45adde37
@Amit Daniel Kachhap Amit Daniel Kachhap authored on 2 Mar 2018
David Cunado committed on 5 Mar 2018
Showing 1 changed file
View
common/desc_image_load.c