Hello Wolfgang, Wolfgang Denk wrote: >> Sounds good. That is what we were expecting. >> > > If you submit a patch, then please add such comments *below* the "---" > line. >
That wasn't a patch submission actually... I've just wanted Michael to test if this patch helps with his problem. I'll post the full updated patch series soon. >> diff --git a/common/cmd_jffs2.c b/common/cmd_jffs2.c >> index e7f07bf..2fc0b7d 100644 >> --- a/common/cmd_jffs2.c >> +++ b/common/cmd_jffs2.c >> @@ -344,7 +344,9 @@ static int part_validate_nor(struct mtdids *id, >> struct part_info *part) >> >> flash = &flash_info[id->num]; >> >> - part->sector_size = 0; >> + /* size of last sector */ >> + part->sector_size = flash->size - >> + (flash->start[flash->sector_count-1] - flash->start[0]); >> >> offset_aligned = 0; >> for (i = 0; i < flash->sector_count; i++) { >> @@ -360,6 +362,7 @@ static int part_validate_nor(struct mtdids *id, >> struct part_info *part) >> > ^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Patch is correcpted because your mailer wrapped long lines. > > Please fix your mailer setup and resubmit. > That's my fault... Usually I send patches with git-send-email... As I said before I'll post correct patches in a short time. Regards, Ilya. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot