Skip to content
Snippets Groups Projects
Commit eaa82759 authored by Ye Li's avatar Ye Li
Browse files

MLK-14481 mx7ulp: Fix build issue when using M4 boot configuration


Wrong SIZE_64K and SIZE_128K are used, and cause build break.
Fix them in the patch.

Signed-off-by: default avatarYe Li <ye.li@nxp.com>
(cherry picked from commit ef2a8a4d)
parent 41a82d6c
No related branches found
No related tags found
No related merge requests found
...@@ -72,7 +72,7 @@ int mcore_early_load_and_boot(void) ...@@ -72,7 +72,7 @@ int mcore_early_load_and_boot(void)
{ {
u32 *src_addr = (u32 *)&_end; u32 *src_addr = (u32 *)&_end;
u32 *dest_addr = (u32 *)TCML_BASE; /*TCML*/ u32 *dest_addr = (u32 *)TCML_BASE; /*TCML*/
u32 image_size = SIZE_128K + SIZE_64K; /* 192 KB*/ u32 image_size = SZ_128K + SZ_64K; /* 192 KB*/
u32 pc = 0, tag = 0; u32 pc = 0, tag = 0;
memcpy(dest_addr, src_addr, image_size); memcpy(dest_addr, src_addr, image_size);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment