fix(mbedtls/crypto_shared_gdma): Enable AXI-DMA enable external memory AES-ECC access

- When external memory encryption is enabled, set the aes_ecc bit of AXI-DMA to enable memory access
This commit is contained in:
harshal.patil
2024-04-26 13:42:08 +05:30
parent e2f6920c4f
commit 5dfbc47192
7 changed files with 217 additions and 28 deletions

View File

@@ -491,6 +491,10 @@ config SOC_GDMA_SUPPORT_ETM
bool
default y
config SOC_AXI_DMA_EXT_MEM_ENC_ALIGNMENT
int
default 16
config SOC_DMA2D_GROUPS
int
default 1

View File

@@ -193,6 +193,7 @@
#define SOC_AXI_GDMA_SUPPORT_PSRAM 1
#define SOC_GDMA_SUPPORT_ETM 1
// #define SOC_GDMA_SUPPORT_SLEEP_RETENTION 1
#define SOC_AXI_DMA_EXT_MEM_ENC_ALIGNMENT (16)
/*-------------------------- 2D-DMA CAPS -------------------------------------*/
#define SOC_DMA2D_GROUPS (1U) // Number of 2D-DMA groups