From 9ce5ebf3cc40ebaa0a0a2db0facaa53a7c16216a Mon Sep 17 00:00:00 2001 From: Ye Li Date: Wed, 14 Jun 2017 07:54:20 -0500 Subject: MLK-14994 mx7ulp: Update M4 image header version check The latest M4 image uses the version 0x41 not 0x40, have to update it when checking M4 image. Otherwise M4 image won't be loaded. Signed-off-by: Ye Li Reviewed-by: Peng Fan (cherry picked from commit 4f421455c850226b9acec9a43b3997995929872e) --- arch/arm/cpu/armv7/mx7ulp/soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/mx7ulp/soc.c b/arch/arm/cpu/armv7/mx7ulp/soc.c index f03bd3b..1440c0f 100644 --- a/arch/arm/cpu/armv7/mx7ulp/soc.c +++ b/arch/arm/cpu/armv7/mx7ulp/soc.c @@ -71,7 +71,7 @@ int mcore_early_load_and_boot(void) * should be same as the one programmed into QSPI flash */ tag = *(dest_addr + 1024); - if (tag != 0x402000d1) + if (tag != 0x402000d1 && tag !=0x412000d1) return -1; pc = *(dest_addr + 1025); -- cgit v1.1