9822055851
Added support using BLK1 and BLK2 in custom table. Added change size key in BLK1 and BLK2 if coding scheme was changed.
64 lines
2 KiB
Plaintext
64 lines
2 KiB
Plaintext
menu "eFuse bit Manager"
|
|
|
|
config EFUSE_CUSTOM_TABLE
|
|
bool "Use custom eFuse table"
|
|
default n
|
|
help
|
|
Allows to generate a structure for eFuse from the CSV file.
|
|
|
|
config EFUSE_CUSTOM_TABLE_FILENAME
|
|
string "Custom eFuse CSV file" if EFUSE_CUSTOM_TABLE
|
|
default main/esp_efuse_custom_table.csv
|
|
help
|
|
Name of the custom eFuse CSV filename. This path is evaluated
|
|
relative to the project root directory.
|
|
|
|
config EFUSE_VIRTUAL
|
|
bool "Emulate eFuse work"
|
|
default n
|
|
help
|
|
If this option is set, all permanent changes (via eFuse) are disabled.
|
|
Log output will state changes which would be applied, but they will not be.
|
|
|
|
choice EFUSE_CODE_SCHEME_SELECTOR
|
|
prompt "Coding scheme"
|
|
default EFUSE_CODE_SCHEME_STATE_NONE
|
|
help
|
|
Selector eFuse code scheme.
|
|
|
|
config EFUSE_CODE_SCHEME_STATE_NONE
|
|
bool "NONE"
|
|
config EFUSE_CODE_SCHEME_STATE_3_4
|
|
bool "3/4"
|
|
config EFUSE_CODE_SCHEME_STATE_REPEAT
|
|
bool "REPEAT"
|
|
endchoice
|
|
|
|
config EFUSE_CODE_SCHEME
|
|
int
|
|
default 0 if EFUSE_CODE_SCHEME_STATE_NONE
|
|
default 1 if EFUSE_CODE_SCHEME_STATE_3_4
|
|
default 2 if EFUSE_CODE_SCHEME_STATE_REPEAT
|
|
|
|
config EFUSE_CUSTOM_TABLE_USE_BLK1
|
|
bool "Use EFUSE_BLK1 for custom purpose"
|
|
default n
|
|
help
|
|
If this option is set then ENCRYPT_FLASH_KEY field from EFUSE_BLK1 [0..192/255] can not be used anymore.
|
|
ENCRYPT_FLASH_KEY field will contain 0 bits.
|
|
|
|
config EFUSE_CUSTOM_TABLE_USE_BLK2
|
|
bool "Use EFUSE_BLK2 for custom purpose"
|
|
default n
|
|
help
|
|
If this option is set then SECURE_BOOT_KEY field from EFUSE_BLK2 [0..192/255] can not be used anymore.
|
|
SECURE_BOOT_KEY field will contain 0 bits.
|
|
|
|
config EFUSE_COMMON_TABLE_FIX_SIZE_BLK1_BLK2_DEP_ON_CODE_SCHEME
|
|
bool "Limit size BLK1 and BLK2 if coding scheme is changed"
|
|
default y
|
|
help
|
|
efuse_table_gen.py tool will change size two fields: SECURE_BOOT_KEY and ENCRYPT_FLASH_KEY if they have not much coding scheme with a description in csv file.
|
|
|
|
endmenu
|