Chip-level constants. More...
Go to the source code of this file.
Macros | |
#define | CHIP_MANIFEST_SIZE 1024 |
Manifest size for boot stages stored in flash (in bytes). | |
#define | CHIP_MANIFEST_VERSION_MINOR_1 0x6c47 |
Manifest format major and minor versions. | |
#define | CHIP_MANIFEST_VERSION_MAJOR_1 0x71c3 |
#define | CHIP_MANIFEST_VERSION_MAJOR_2 0x0002 |
#define | CHIP_MANIFEST_EXT_TABLE_ENTRY_COUNT 15 |
Number of entries in the manifest extensions table. | |
#define | CHIP_BOOT_SVC_MSG_HEADER_SIZE 44 |
Size of the header of a boot services message. | |
#define | CHIP_BOOT_SVC_MSG_SIZE_MAX 256 |
Maximum size of a boot services message. | |
#define | CHIP_BOOT_SVC_MSG_PAYLOAD_SIZE_MAX (CHIP_BOOT_SVC_MSG_SIZE_MAX - CHIP_BOOT_SVC_MSG_HEADER_SIZE) |
Maximum payload size for a boot services message. | |
#define | CHIP_BL0_IDENTIFIER 0x3042544f |
First owner boot stage, e.g. More... | |
#define | CHIP_BL0_SIZE_MIN CHIP_MANIFEST_SIZE |
Allowed bounds for the length field of a first owner boot stage manifest. | |
#define | CHIP_BL0_SIZE_MAX 0x70000 |
#define | CHIP_ROM_EXT_IDENTIFIER 0x4552544f |
ROM_EXT manifest identifier (ASCII "OTRE"). | |
#define | CHIP_ROM_EXT_SIZE_MIN CHIP_MANIFEST_SIZE |
Allowed bounds for the length field of a ROM_EXT manifest. | |
#define | CHIP_ROM_EXT_SIZE_MAX 0x10000 |
#define | CHIP_ROM_EXT_RESIZABLE_SIZE_MAX (CHIP_ROM_EXT_SIZE_MAX + CHIP_BL0_SIZE_MAX) |
#define | TEST_ROM_IDENTIFIER 0x54534554 |
Value written to the end of the retention SRAM creator area by test_rom to be able to determine the type of ROM in tests (ASCII "TEST"). | |
#define | PINMUX_PAD_ATTR_PROP_CYCLES 500 |
Pinmux pull up/down wait delay. More... | |
#define | SW_STRAP_0_PERIPH 22 |
Pinmux peripheral input values for software strap pins. | |
#define | SW_STRAP_1_PERIPH 23 |
#define | SW_STRAP_2_PERIPH 24 |
#define | SW_STRAP_0_INSEL 24 |
Pinmux MIO input selector values for software strap pins. | |
#define | SW_STRAP_1_INSEL 25 |
#define | SW_STRAP_2_INSEL 26 |
#define | SW_STRAP_0_PAD 22 |
Pads of the software strap pins. | |
#define | SW_STRAP_1_PAD 23 |
#define | SW_STRAP_2_PAD 24 |
#define | SW_STRAP_MASK |
Mask for the software strap pins. More... | |
#define | SW_STRAP_RMA_ENTRY |
RMA entry strap value. More... | |
#define | SW_STRAP_BOOTSTRAP |
Bootstrap strap value. More... | |
Chip-level constants.
Definition in file chip.h.
#define CHIP_BL0_IDENTIFIER 0x3042544f |
#define PINMUX_PAD_ATTR_PROP_CYCLES 500 |
#define SW_STRAP_BOOTSTRAP |
Bootstrap strap value.
We expect strong pull-ups on all software strap pins, i.e. 11_11_11
.
#define SW_STRAP_MASK |
Mask for the software strap pins.
#define SW_STRAP_RMA_ENTRY |
RMA entry strap value.
We expect strong pull-ups on SW_STRAP_2_PERIPH and SW_STRAP_1_PERIPH, and strong pull-down on SW_STRAP_0_PERIPH, i.e. 11_11_00
.