| /****************************************************************************** | |
| * | |
| * (C)Copyright 2005 - 2011 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 _GEUFUSEREADMETHODS_H_ | |
| #define _GEUFUSEREADMETHODS_H_ | |
| #include <Typedef.h> | |
| #include <predefines.h> | |
| #include <Errors.h> | |
| #include "GEU.h" | |
| #include "platform_geu_fuse_internal.h" | |
| // Fuse field sizes in bytes | |
| #define K_APCP_CONFIG_FUSE_SIZE 12 | |
| #define K_AP_CONFIG_FUSE_SIZE 10 | |
| //#define K_CP_CONFIG_FUSE_SIZE 2 | |
| #define K_SECURITY_CONFIG_FUSE_SIZE 4 | |
| // Fuse Read APIs | |
| UINT_T GEU_GenerateRandomNumber (UINT_T Seed); | |
| UINT_T GEU_ReadAPCPConfigFuseBits(UINT_T* pBuffer, UINT_T Size); | |
| UINT_T GEU_ReadApConfigFuseBits(UINT_T* pBuffer, UINT_T Size); | |
| UINT_T GEU_ReadCpConfigFuseBits(UINT_T* pBuffer, UINT_T Size); | |
| UINT_T GEU_ReadSecurityConfigFuseBits(UINT_T* pBuffer, UINT_T Size); | |
| UINT_T GEU_ReadOemHashKeyFuseBits(UINT_T* pBuffer, UINT_T Size); | |
| UINT_T GEU_ReadOemJtagHashKeyFuseBits(UINT_T* pBuffer, UINT_T Size); | |
| UINT_T GEU_ReadUsbIdFuseBits(UINT_T* pBuffer, UINT_T Size); | |
| UINT_T GEU_ReadOemUidFuseBits(UINT_T* pBuffer, UINT_T Size); | |
| UINT_T GEU_ReadOemUidEccFuseBits(UINT_T* pBuffer, UINT_T Size); | |
| UINT_T GEU_ReadLifeCycle(void); | |
| UINT_T GEU_ReadRKEKSecuredBit(void); | |
| UINT_T GEU_ReadRNG(UINT_T *Data, UINT_T Len); | |
| #endif // _GEUFUSEREADMETHODS_H_ | |