Merge "arch: smem: removed end_magic check in bootconfig"

This commit is contained in:
Linux Build Service Account 2023-09-27 15:09:09 -07:00 committed by Gerrit - the friendly Code Review server
commit cba7e5d09e

View file

@ -517,8 +517,7 @@ int smem_bootconfig_info(void)
&qca_smem_bootconfig_info, sizeof(qca_smem_bootconfig_info_t)); &qca_smem_bootconfig_info, sizeof(qca_smem_bootconfig_info_t));
if ((ret != 0) || 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) &&
(qca_smem_bootconfig_info.magic_start != _SMEM_DUAL_BOOTINFO_MAGIC_START_TRYMODE)) || (qca_smem_bootconfig_info.magic_start != _SMEM_DUAL_BOOTINFO_MAGIC_START_TRYMODE)))
(qca_smem_bootconfig_info.magic_end != _SMEM_DUAL_BOOTINFO_MAGIC_END))
return -ENOMSG; return -ENOMSG;
return 0; return 0;