Skip to content

Commit

Permalink
[MTD] redboot partition combined fis / config problem
Browse files Browse the repository at this point in the history
Can't analyze FIS directory in CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG
really.

Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
  • Loading branch information
Yoshinori Sato authored and David Woodhouse committed Dec 1, 2006
1 parent 7dcb483 commit 0b47d65
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/mtd/redboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0b47d65

Please sign in to comment.