diff options
author | Roberto Vargas <roberto.vargas@arm.com> | 2017-09-26 12:53:01 +0100 |
---|---|---|
committer | Roberto Vargas <roberto.vargas@arm.com> | 2017-10-24 14:04:41 +0100 |
commit | 01f62b6d0d90a236cbfdf385aab7ec2ac11f2e65 (patch) | |
tree | 573a4998620b283963ecd60536df569f0b988759 /bl2/bl2_main.c | |
parent | 3b39efa49d9949c80b6e76b99829f84619b46110 (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/bl2_main.c')
-rw-r--r-- | bl2/bl2_main.c | 3 |
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(); |