/***************************************************************************//** * @file bl_bom.h * @brief This file is the header file of bootloader BOM configuration. * @version V1.0.0 * @date Nov-2023 * @author Marelli FBL Developer * * @note * Copyright (C) 2023 Marelli Ltd. All rights reserved. * ******************************************************************************/ #ifndef BL_BOM_H #define BL_BOM_H #include "common_drv.h" /*Macro value define for RegFile index 0x00*/ #define BL_STAY_IN_BOOT_FLAG_REGFILE_ID 0x0U #define BL_STAY_IN_BOOT_FLAG_VALUE 0x1B7D6823U #define BL_STAY_IN_BOOT_FLAG_CLEAR 0x00000000U /*Macro value define for RegFile index 0x01---make sure it is only used by FLU and FBL*/ #define BL_FLU_JUMPTO_FBL_FLAG_REGFILE_ID 0x01U #define BL_FLU_JUMPTO_FBL_FLAG_VALUE 0xAACCAACCU #define BL_FLU_JUMPTO_FBL_FLAG_CLEAR 0x00000000U #define bool _Bool bool Boot_ChkExtReProgFlag(void); FlagStatus_t ChkFLU_JumpTo_FBLFlag(void); ResultStatus_t ClearFLU_JumpTo_FBLFlag(void); void init_data_ram(void); #endif /* BL_BOM_H */