diff options
author | Ye Li <ye.li@nxp.com> | 2017-06-14 07:54:20 -0500 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-06-20 01:51:39 -0500 |
commit | 9ce5ebf3cc40ebaa0a0a2db0facaa53a7c16216a (patch) | |
tree | 1896c07ea41af58c43b82d1726d6377019c1ff21 | |
parent | db3ece42971246ce078fb135509f1f33dfd00f2d (diff) | |
download | u-boot-imx-9ce5ebf3cc40ebaa0a0a2db0facaa53a7c16216a.zip u-boot-imx-9ce5ebf3cc40ebaa0a0a2db0facaa53a7c16216a.tar.gz u-boot-imx-9ce5ebf3cc40ebaa0a0a2db0facaa53a7c16216a.tar.bz2 |
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 <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 4f421455c850226b9acec9a43b3997995929872e)
-rw-r--r-- | arch/arm/cpu/armv7/mx7ulp/soc.c | 2 |
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 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); |