82 lines
4.6 KiB
C
82 lines
4.6 KiB
C
/***********************************************************************************************************************
|
|
* FILE DESCRIPTION
|
|
* ------------------------------------------------------------------------------------------------------------------*/
|
|
/** \file
|
|
* \brief SecureBoot implementation callback file
|
|
*
|
|
* \note Please note, that this file contains a collection of callback functions to be used with the
|
|
* Flash Bootloader. These functions may influence the behavior of the bootloader in principle.
|
|
* Therefore, great care must be taken to verify the correctness of the implementation.
|
|
* The contents of the originally delivered files are only examples resp. implementation proposals.
|
|
* With regard to the fact that these functions are meant for demonstration purposes only, Vector
|
|
* Informatik's liability shall be expressly excluded in cases of ordinary negligence, to the extent
|
|
* admissible by law or statute.
|
|
*
|
|
* --------------------------------------------------------------------------------------------------------------------
|
|
* COPYRIGHT
|
|
* --------------------------------------------------------------------------------------------------------------------
|
|
* \par Copyright
|
|
* \verbatim
|
|
* Copyright (c) 2025 by Vector Informatik GmbH. All rights reserved.
|
|
*
|
|
* This software is copyright protected and proprietary to Vector Informatik GmbH.
|
|
* Vector Informatik GmbH grants to you only those rights as set out in the license conditions.
|
|
* All other rights remain with Vector Informatik GmbH.
|
|
* \endverbatim
|
|
*/
|
|
/**********************************************************************************************************************/
|
|
|
|
/***********************************************************************************************************************
|
|
* REVISION HISTORY
|
|
* --------------------------------------------------------------------------------------------------------------------
|
|
* Version Date Author Change Id Description
|
|
* --------------------------------------------------------------------------------------------------------------------
|
|
* 01.00.00 2020-01-07 visrie FBL-524 Initial release
|
|
* 01.00.01 2020-04-27 visrie FBL-1773 No changes
|
|
* 02.00.00 2020-05-19 vistbe FBL-1016 No changes
|
|
* 02.01.00 2021-01-19 visrie FBL-2648 No changes
|
|
* FBL-2641 No changes
|
|
* 02.02.00 2021-09-03 visjdn FBL-3352 No changes
|
|
* 02.03.00 2023-06-21 vistbe FBL-4814 Add support for OTA
|
|
* 02.03.01 2024-05-16 viswmo ESCAN00117059 No changes
|
|
* 02.04.00 2024-11-18 vismix FBL-9654 No changes
|
|
* 02.05.00 2025-01-30 vikatya PIO-1340 No changes
|
|
* 02.06.00 2025-02-19 visrie FBL-10209 No changes
|
|
**********************************************************************************************************************/
|
|
|
|
#ifndef FBL_SECBOOT_AP_H
|
|
#define FBL_SECBOOT_AP_H
|
|
|
|
/***********************************************************************************************************************
|
|
* INCLUDES
|
|
**********************************************************************************************************************/
|
|
|
|
#include "bm_types.h"
|
|
#include "fbl_secboot.h"
|
|
|
|
/***********************************************************************************************************************
|
|
* FUNCTION PROTOTYPES
|
|
**********************************************************************************************************************/
|
|
#define FBLSB_START_SEC_CODE
|
|
#include "MemMap.h" /* PRQA S 5087 */ /* MD_MSR_MemMap */
|
|
|
|
void ApplFblSbStartup(void);
|
|
#if defined( FBLBM_ENABLE_SECBOOT_FBL_INIT_MAC )
|
|
# if defined( FBLBM_INSTANCE_BOOTMANAGER )
|
|
tFblResult ApplFblSbIsInitialStartup(void);
|
|
# endif
|
|
void ApplFblSbClrInitialStartup(void);
|
|
#endif
|
|
tFblResult ApplFblSbGetSignatureInfo(const V_MEMRAM1 tFblBmHdrHeader V_MEMRAM2 V_MEMRAM3 * bmHdrHeader, vuint32 macId,
|
|
V_MEMRAM1 vuint32 V_MEMRAM2 V_MEMRAM3 * signatureAddress,
|
|
V_MEMRAM1 vuint32 V_MEMRAM2 V_MEMRAM3 * signatureLength);
|
|
|
|
#define FBLSB_STOP_SEC_CODE
|
|
#include "MemMap.h" /* PRQA S 5087 */ /* MD_MSR_MemMap */
|
|
|
|
#endif /* FBL_SECBOOT_AP_H */
|
|
|
|
/***********************************************************************************************************************
|
|
* END OF FILE: FBL_SECBOOT_AP.H
|
|
**********************************************************************************************************************/
|