Skip to contentSkip to conversation

redboot partition combind fis / config problem

PATCH Yoshinori Sato 1 participant 1 message Nov 30, 2006 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Can't analyze FIS directory in CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG really.

drivers/mtd/redboot.c +3 -0
index 5b58523..0204cb9 100644
@@ -110,6 +110,9 @@ #endif
 				}
 			}
 			break;
+		} else {
+			/* re-calculate of real numslots */
+			numslots = buf[i].size / sizeof(struct fis_image_desc);
 		}
 	}
 	if (i == numslots) {
Signature · 2 lines
Yoshinori Sato
<[email protected]>