mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
Merge "sysupgrade: Consider minimum metadata size as 0x1000"
This commit is contained in:
commit
a0a655ebd8
1 changed files with 1 additions and 1 deletions
|
|
@ -1235,7 +1235,7 @@ int parse_elf_image_phdr(struct image_section *section)
|
|||
phdr->p_paddr, phdr->p_offset, phdr->p_filesz, phdr->p_type);
|
||||
|
||||
int size = sb.st_size - (phdr->p_offset + phdr->p_filesz );
|
||||
if (size < 0x4000) {
|
||||
if (size < 0x1000) {
|
||||
printf("rootfs metada is not available\n");
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue