[MTD] redboot partition combined fis / config problem

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>

authored by Yoshinori Sato and committed by David Woodhouse 0b47d654 7dcb483d

+3
+3
drivers/mtd/redboot.c
··· 110 110 } 111 111 } 112 112 break; 113 + } else { 114 + /* re-calculate of real numslots */ 115 + numslots = buf[i].size / sizeof(struct fis_image_desc); 113 116 } 114 117 } 115 118 if (i == numslots) {