This function is used by PMUFW IPI call handler for programming eFUSE.
Prototype
u32 XilSkey_ZynqMpEfuseAccess(const u32 AddrHigh, const u32 AddrLow);
Parameters
The following table lists the XilSkey_ZynqMpEfuseAccess
function arguments.
Type | Name | Description |
---|---|---|
const u32 | AddrHigh | Higher 32-bit address of the XilSKey_Efuse structure. |
const u32 | AddrLow | Lower 32-bit address of the XilSKey_Efuse structure. |
Returns
XST_SUCCESS - On success ErrorCode - on FailureNote: eFUSEs accessible from Linux are as follows:
Register | Read | Write | Size in bytes | Offset |
---|---|---|---|---|
DNA | YES | NO | 0xc | 0xC |
User0 | YES | YES | 0x4 | 0x20 |
User1 | YES | YES | 0x4 | 0x24 |
User2 | YES | YES | 0x4 | 0x28 |
User3 | YES | YES | 0x4 | 0x2c |
User4 | YES | YES | 0x4 | 0x30 |
User5 | YES | YES | 0x4 | 0x34 |
User6 | YES | YES | 0x4 | 0x38 |
User7 | YES | YES | 0x4 | 0x3C |
Miscellaneous User | YES | YES | 0x4 | 0x40 |
Secure control | YES | YES | 0x4 | 0x58 |
SPK ID | YES | 0x4 | 0x4 | 0x5C |
AES Key | YES | 0x20 | 0x20 | 0x60 |
PPK0 Hash | YES | YES | 0x30 | 0xA0 |
PPK1 Hash | YES | YES | 0x30 | 0xD0 |