Skip to content

Commit f37e22e

Browse files
yongxu-wang15mmahadevan108
authored andcommitted
devices: MIMX9596: fsl_memory: corrected the starting value of M7 memory offset
find in support edma test case, the start address is not right. Signed-off-by: Yongxu Wang <yongxu.wang@nxp.com>
1 parent cb883e7 commit f37e22e

File tree

1 file changed

+1
-1
lines changed
  • mcux/mcux-sdk-ng/devices/i.MX/i.MX95/MIMX9596/drivers

1 file changed

+1
-1
lines changed

mcux/mcux-sdk-ng/devices/i.MX/i.MX95/MIMX9596/drivers/fsl_memory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ static inline uint32_t MEMORY_ConvertMemoryMapAddress(uint32_t addr, mem_directi
7676
dest = addr + FSL_MEM_M33_TCM_OFFSET;
7777
}
7878
#elif (__CORTEX_M == 7U)
79-
if ((addr > FSL_MEM_M7_TCM_BEGIN) && (addr <= FSL_MEM_M7_TCM_END))
79+
if ((addr >= FSL_MEM_M7_TCM_BEGIN) && (addr <= FSL_MEM_M7_TCM_END))
8080
{
8181
dest = addr + FSL_MEM_M7_TCM_OFFSET;
8282
}

0 commit comments

Comments
 (0)