summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2017-03-17 11:06:52 +0800
committerYe Li <ye.li@nxp.com>2017-03-17 15:51:38 +0800
commiteaa82759c80927e9fb626e3aa5abfb37007624c4 (patch)
tree442f889e8c16fd266ee543a4632ca676aee71c72
parent41a82d6cb689156a47ad3a4d971bbd7fe7ae0e1c (diff)
downloadu-boot-imx-eaa82759c80927e9fb626e3aa5abfb37007624c4.zip
u-boot-imx-eaa82759c80927e9fb626e3aa5abfb37007624c4.tar.gz
u-boot-imx-eaa82759c80927e9fb626e3aa5abfb37007624c4.tar.bz2
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: Ye Li <ye.li@nxp.com> (cherry picked from commit ef2a8a4d7e0c4557abf50dadb6f149afd5bfe956)
-rw-r--r--arch/arm/cpu/armv7/mx7ulp/soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/mx7ulp/soc.c b/arch/arm/cpu/armv7/mx7ulp/soc.c
index c004cb8..bc39aa8 100644
--- a/arch/arm/cpu/armv7/mx7ulp/soc.c
+++ b/arch/arm/cpu/armv7/mx7ulp/soc.c
@@ -72,7 +72,7 @@ int mcore_early_load_and_boot(void)
{
u32 *src_addr = (u32 *)&_end;
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;
memcpy(dest_addr, src_addr, image_size);