summaryrefslogtreecommitdiff
path: root/bl2
diff options
context:
space:
mode:
authorRoberto Vargas <roberto.vargas@arm.com>2017-09-26 12:53:01 +0100
committerRoberto Vargas <roberto.vargas@arm.com>2017-10-24 14:04:41 +0100
commit01f62b6d0d90a236cbfdf385aab7ec2ac11f2e65 (patch)
tree573a4998620b283963ecd60536df569f0b988759 /bl2
parent3b39efa49d9949c80b6e76b99829f84619b46110 (diff)
Add platform hooks for boot redundancy support
These hooks are intended to allow one platform to try load images from alternative places. There is a hook to initialize the sequence of boot locations and a hook to pass to the next sequence. Change-Id: Ia0f84c415208dc4fa4f9d060d58476db23efa5b2 Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
Diffstat (limited to 'bl2')
-rw-r--r--bl2/bl2_main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bl2/bl2_main.c b/bl2/bl2_main.c
index 0fe82d91..018deb34 100644
--- a/bl2/bl2_main.c
+++ b/bl2/bl2_main.c
@@ -34,6 +34,9 @@ void bl2_main(void)
auth_mod_init();
#endif /* TRUSTED_BOARD_BOOT */
+ /* initialize boot source */
+ bl2_plat_preload_setup();
+
/* Load the subsequent bootloader images. */
next_bl_ep_info = bl2_load_images();