diff options
author | Manish V Badarkhe <Manish.Badarkhe@arm.com> | 2021-06-25 23:28:59 +0100 |
---|---|---|
committer | Manish V Badarkhe <Manish.Badarkhe@arm.com> | 2021-08-02 17:15:40 +0100 |
commit | 396b339dc20b97ddd75146e03467a255e28f31b9 (patch) | |
tree | d48c4ca8b4f0a1d9cfec890f249d205739a74fe1 /bl2 | |
parent | 0ec3ac60d86b75d132e7a63fc09ea47e67f90bbd (diff) | |
download | arm-trusted-firmware-396b339dc20b97ddd75146e03467a255e28f31b9.tar.gz |
feat(fwu): initialize FWU driver in BL2
Initialized FWU driver module in BL2 component under
build flag PSA_FWU_SUPPORT.
Change-Id: I08b191599835925c355981d695667828561b9a21
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
Diffstat (limited to 'bl2')
-rw-r--r-- | bl2/bl2_main.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bl2/bl2_main.c b/bl2/bl2_main.c index 203e1d4b1..d2de1350d 100644 --- a/bl2/bl2_main.c +++ b/bl2/bl2_main.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2020, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2013-2021, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -14,6 +14,7 @@ #include <common/debug.h> #include <drivers/auth/auth_mod.h> #include <drivers/console.h> +#include <drivers/fwu/fwu.h> #if MEASURED_BOOT #include <drivers/measured_boot/measured_boot.h> #endif @@ -88,6 +89,10 @@ void bl2_main(void) /* Perform remaining generic architectural setup in S-EL1 */ bl2_arch_setup(); +#if PSA_FWU_SUPPORT + fwu_init(); +#endif /* PSA_FWU_SUPPORT */ + #if TRUSTED_BOARD_BOOT /* Initialize authentication module */ auth_mod_init(); |