Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b47d654 authored by Yoshinori Sato's avatar Yoshinori Sato Committed by David Woodhouse
Browse files

[MTD] redboot partition combined fis / config problem



Can't analyze FIS directory in CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG
really.

Signed-off-by: default avatarYoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 7dcb483d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -110,6 +110,9 @@ static int parse_redboot_partitions(struct mtd_info *master,
				}
			}
			break;
		} else {
			/* re-calculate of real numslots */
			numslots = buf[i].size / sizeof(struct fis_image_desc);
		}
	}
	if (i == numslots) {