Skip to content

Commit

Permalink
drivers: psi5_s: add guard for DMA
Browse files Browse the repository at this point in the history
add guard for DMA since PSI5S driver
is not suppored DMA

Issue: AZ-2540
Signed-off-by: Tu Nguyen Van <[email protected]>
  • Loading branch information
tunguyen4585 committed Nov 28, 2024
1 parent 4a902e6 commit 34175f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion s32/drivers/s32ze/Psi5_S/src/Psi5_S_Ip.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ VAR_SEC_NOCACHE(g_psi5_s_sram_mailbox) static uint32 g_psi5_s_sram_mailbox[PSI5_
#define PSI5_START_SEC_VAR_CLEARED_UNSPECIFIED_NO_CACHEABLE
#include "Psi5_MemMap.h"

VAR_SEC_NOCACHE(STcd) VAR_ALIGN(static Dma_Ip_SwTcdRegType STcd[4], 32U)
#if (STD_ON == PSI5_S_IP_DMA_IS_USED)
VAR_ALIGN(static Dma_Ip_SwTcdRegType STcd[4], 32U)
#endif

#define PSI5_STOP_SEC_VAR_CLEARED_UNSPECIFIED_NO_CACHEABLE
#include "Psi5_MemMap.h"
Expand Down

0 comments on commit 34175f1

Please sign in to comment.