mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
Merge "arch: smem: removed end_magic check in bootconfig"
This commit is contained in:
commit
cba7e5d09e
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue