From 01f62b6d0d90a236cbfdf385aab7ec2ac11f2e65 Mon Sep 17 00:00:00 2001 From: Roberto Vargas Date: Tue, 26 Sep 2017 12:53:01 +0100 Subject: 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 --- bl2/bl2_main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bl2') 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(); -- cgit v1.2.3