[bootloader_support/esp32h2] Enable flash encryption for esp32h2 target

This commit is contained in:
Aditya Patwardhan 2023-02-23 10:45:51 +05:30
parent 0d97eeb7a5
commit aaf5d0670e
2 changed files with 5 additions and 2 deletions

View File

@ -107,6 +107,10 @@ config SOC_DIG_SIGN_SUPPORTED
bool
default y
config SOC_FLASH_ENC_SUPPORTED
bool
default y
config SOC_BOD_SUPPORTED
bool
default y

View File

@ -58,7 +58,7 @@
#define SOC_SHA_SUPPORTED 1
#define SOC_HMAC_SUPPORTED 1
#define SOC_DIG_SIGN_SUPPORTED 1
// #define SOC_FLASH_ENC_SUPPORTED 1 // TODO: IDF-6282
#define SOC_FLASH_ENC_SUPPORTED 1
// #define SOC_SECURE_BOOT_SUPPORTED 1 // TODO: IDF-6281
#define SOC_BOD_SUPPORTED 1
#define SOC_APM_SUPPORTED 1
@ -381,7 +381,6 @@
#define SOC_EFUSE_REVOKE_BOOT_KEY_DIGESTS 1
#define SOC_SUPPORT_SECURE_BOOT_REVOKE_KEY 1
// TODO: IDF-6282 (Copy from esp32c6, need check)
/*-------------------------- Flash Encryption CAPS----------------------------*/
#define SOC_FLASH_ENCRYPTED_XTS_AES_BLOCK_MAX (32)
#define SOC_FLASH_ENCRYPTION_XTS_AES 1