Software APIs
Data Fields
retention_sram Struct Reference

The retention SRAM is memory that is used to retain information, such as a boot service request, across a device reset. More...

#include <sw/device/silicon_creator/lib/drivers/retention_sram.h>

Data Fields

uint32_t version
 Retention SRAM format version. More...
 
retention_sram_creator_t creator
 Silicon creator area.
 
retention_sram_owner_t owner
 Silicon owner area.
 

Detailed Description

The retention SRAM is memory that is used to retain information, such as a boot service request, across a device reset.

If the reset reason is 'power on' (POR) all fields will be initialized using the LFSR by the ROM.

Definition at line 103 of file retention_sram.h.

Field Documentation

◆ creator

retention_sram_creator_t retention_sram::creator

Silicon creator area.

Definition at line 116 of file retention_sram.h.

◆ owner

retention_sram_owner_t retention_sram::owner

Silicon owner area.

Definition at line 120 of file retention_sram.h.

◆ version

uint32_t retention_sram::version

Retention SRAM format version.

ROM sets this field to kRetentionSramVersion2 only after PoR and does not modify it otherwise. ROM_EXT can use this information for backward compatibility and set this field to a different value after migrating to a different layout if needed.

Definition at line 112 of file retention_sram.h.