Structure to store the partition header details. It contains all the information of partition header in order.
Declaration
typedef struct
{
u32 EncryptedDataWordLength,
u32 UnEncryptedDataWordLength,
u32 TotalDataWordLength,
u32 NextPartitionOffset,
u64 DestinationExecutionAddress,
u64 DestinationLoadAddress,
u32 DataWordOffset,
u32 PartitionAttributes,
u32 SectionCount,
u32 ChecksumWordOffset,
u32 ImageHeaderOffset,
u32 AuthCertificateOffset,
u32 Iv,
u32 Checksum
} XSecure_PartitionHeader;
Member | Description |
---|---|
EncryptedDataWordLength | Encrypted word length of partition |
UnEncryptedDataWordLength | unencrypted word length |
TotalDataWordLength | Total word length including the authentication certificate if any |
NextPartitionOffset | Address of the next partition header |
DestinationExecutionAddress | Execution address |
DestinationLoadAddress | Load address in DDR/TCM |
DataWordOffset | Data word offset |
PartitionAttributes | partition attributes |
SectionCount | section count |
ChecksumWordOffset | address to checksum when enabled |
ImageHeaderOffset | address to image header |
AuthCertificateOffset | address to the authentication certificate when enabled |
Iv | 8 bits are to be added to and remaining are reserved |
Checksum | checksum of the partition header |