Software APIs
build_info Struct Reference

Data Fields

build_info_scm_revision_t scm_revision
 Truncated commit hash.
 
uint32_t version
 Chip info format version.
 

Detailed Description

Definition at line 27 of file build_info.h.

Field Documentation

◆ scm_revision

build_info_scm_revision_t build_info::scm_revision

Truncated commit hash.

Definition at line 31 of file build_info.h.

◆ version

uint32_t build_info::version

Chip info format version.

The chip info struct is placed at the end of the ROM. Placing this field at the end of the struct places the version word at the last addressable ROM address, which gives later boot stages a fixed address to look for this field. See sw/device/silicon_creator/rom/rom.ld for details.

Definition at line 40 of file build_info.h.