Software APIs
Data Fields
partition_info Struct Reference

Data Fields

uint32_t start_addr
 The absolute OTP address at which this partition starts.
 
uint32_t len
 The length of this partition, in bytes, including the digest. More...
 
uint32_t align_mask
 The alignment mask for this partition. More...
 
bool is_software
 Whether this is a software-managed partition with a software-managed digest.
 
bool has_digest
 Whether this partition has a digest field.
 
bool is_lifecycle
 Whether this partition is the lifecycle partition.
 

Detailed Description

Definition at line 335 of file dif_otp_ctrl.c.

Field Documentation

◆ align_mask

uint32_t partition_info::align_mask

The alignment mask for this partition.

A valid address for this partition must be such that addr & align_mask == 0.

Definition at line 353 of file dif_otp_ctrl.c.

◆ has_digest

bool partition_info::has_digest

Whether this partition has a digest field.

Definition at line 364 of file dif_otp_ctrl.c.

◆ is_lifecycle

bool partition_info::is_lifecycle

Whether this partition is the lifecycle partition.

Definition at line 369 of file dif_otp_ctrl.c.

◆ is_software

bool partition_info::is_software

Whether this is a software-managed partition with a software-managed digest.

Definition at line 359 of file dif_otp_ctrl.c.

◆ len

uint32_t partition_info::len

The length of this partition, in bytes, including the digest.

If the partition has a digest, it is expected to be at address start_addr + len - sizeof(uint64_t).

Definition at line 346 of file dif_otp_ctrl.c.

◆ start_addr

uint32_t partition_info::start_addr

The absolute OTP address at which this partition starts.

Definition at line 339 of file dif_otp_ctrl.c.