From 3a4ab14b6caee38adf4e2a66f3777ec487a1effb Mon Sep 17 00:00:00 2001 From: Ye Li Date: Wed, 14 Jun 2017 07:54:20 -0500 Subject: [PATCH] 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 --- 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 4467c87fcd..2cd16c8870 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); -- 2.17.1