arch: smem: removed end_magic check in bootconfig

This patch is to support bootconfig with crc32

Change-Id: I49a7c5e3a578a166d25b8c7387a9a5ffd21652a8
Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
(cherry picked from commit c61b701c04)
This commit is contained in:
Gurumoorthy Santhakumar 2023-08-02 12:22:42 +05:30
parent 80a79ee5ed
commit 04694cca89

View file

@ -514,8 +514,7 @@ int smem_bootconfig_info(void)
&qca_smem_bootconfig_info, sizeof(qca_smem_bootconfig_info_t));
if ((ret != 0) ||
((qca_smem_bootconfig_info.magic_start != _SMEM_DUAL_BOOTINFO_MAGIC_START) &&
(qca_smem_bootconfig_info.magic_start != _SMEM_DUAL_BOOTINFO_MAGIC_START_TRYMODE)) ||
(qca_smem_bootconfig_info.magic_end != _SMEM_DUAL_BOOTINFO_MAGIC_END))
(qca_smem_bootconfig_info.magic_start != _SMEM_DUAL_BOOTINFO_MAGIC_START_TRYMODE)))
return -ENOMSG;
return 0;