diff options
author | Gaurav Jain <gaurav.jain@nxp.com> | 2022-06-23 14:01:35 +0300 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2022-08-16 12:07:30 +0300 |
commit | 47465877a5b9d6dbc3a068faf24551e2cb3a4911 (patch) | |
tree | 6ea5e4c531ab043503980e6a6873d16e3878720b /board/freescale/common/fsl_chain_of_trust.c | |
parent | 20d4c6052fe5826b3421e86b2f0e76a6c22581a7 (diff) | |
download | u-boot-47465877a5b9d6dbc3a068faf24551e2cb3a4911.tar.xz |
ls1021atwr: caam: Enable Uboot validaion in SPL.
caam driver model enabled in spl for secure boot.
fsl_rsa_mod_exp driver enabled in spl for validating uboot image.
Signed-off-by: Gaurav Jain <gaurav.jain@nxp.com>
Diffstat (limited to 'board/freescale/common/fsl_chain_of_trust.c')
-rw-r--r-- | board/freescale/common/fsl_chain_of_trust.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/board/freescale/common/fsl_chain_of_trust.c b/board/freescale/common/fsl_chain_of_trust.c index d31fb82181..ad72353440 100644 --- a/board/freescale/common/fsl_chain_of_trust.c +++ b/board/freescale/common/fsl_chain_of_trust.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2015 Freescale Semiconductor, Inc. + * Copyright 2022 NXP */ #include <common.h> @@ -114,11 +115,6 @@ void spl_validate_uboot(uint32_t hdr_addr, uintptr_t img_addr) fsl_secboot_handle_error(ERROR_ESBC_PAMU_INIT); #endif -#ifdef CONFIG_FSL_CAAM - if (sec_init() < 0) - fsl_secboot_handle_error(ERROR_ESBC_SEC_INIT); -#endif - /* * dm_init_and_scan() is called as part of common SPL framework, so no * need to call it again but in case of powerpc platforms which currently |