| /**************************************************************************** |
| * |
| * (C)Copyright 2015 Marvell. All Rights Reserved. |
| * |
| * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF MARVELL. |
| * The copyright notice above does not evidence any actual or intended |
| * publication of such source code. This Module contains Proprietary |
| * Information of Marvell and should be treated as Confidential. The |
| * information in this file is provided for the exclusive use of the |
| * licensees of Marvell. Such users have the right to use, modify, and |
| * incorporate this code into products for purposes authorized by the |
| * license agreement provided they include this notice and the associated |
| * copyright notice with any such product. |
| * |
| * The information in this file is provided "AS IS" without warranty. |
| * |
| ***************************************************************************/ |
| #ifndef _PROVISIONING_H_ |
| #define _PROVISIONING_H_ |
| |
| #include "tim.h" |
| |
| typedef enum _fuse_type_enum { |
| enum_fuse_type_dummy = 1, |
| enum_fuse_type_ap, |
| enum_fuse_type_cp, |
| } fuse_type_enum; |
| |
| typedef struct _fuse_burn_flags_t { |
| UINT_T fuse_burn_flag; |
| UINT_T fuse_ecc_flag; |
| UINT_T fuse_lock_block_flag; |
| } fuse_burn_flags_t, *pfuse_burn_flags_t; |
| |
| |
| typedef struct |
| { |
| UINT_T (*pBindPlatform) (pTIM ptim, void* parameter); |
| UINT_T (*pVerifyPlatform) (pTIM ptim); |
| UINT_T (*pBindJTAGKey) (pTIM ptim, void* parameter); |
| UINT_T (*pVerifyJTAGKey) (pTIM ptim); |
| UINT_T (*pAutoConfigPlatform) (pTIM ptim, void* parameter); |
| } PROVISIONING_FUNCTIONS, *pPROVISIONING_FUNCTIONS; |
| |
| |
| pPROVISIONING_FUNCTIONS GetProvisioningFunctionsPointer(void); |
| void ProvisioningInitialization(void); |
| |
| #endif /* _PROVISIONING_H_ */ |