openwrt/package/system/mtd/src
Rafał Miłecki 79c8f2f50b mtd: improve check for TRX header being already fixed
First of all lengths should be compared after checking all blocks for
being good/bad. It's because requested length may differ from a final
one if there were some bad blocks.

Secondly it makes sense to also compare crc32 since we already have a
new one calculated.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 82498a7f7a)
2018-07-17 07:17:48 +02:00
..
Makefile mtd: add fixwrgg command 2016-10-27 01:50:42 +03:00
crc32.c packages: clean up the package folder 2013-06-21 16:54:37 +00:00
crc32.h packages: clean up the package folder 2013-06-21 16:54:37 +00:00
fis.c treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
fis.h packages: clean up the package folder 2013-06-21 16:54:37 +00:00
imagetag.c treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
jffs2.c treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
jffs2.h packages: clean up the package folder 2013-06-21 16:54:37 +00:00
linksys_bootcount.c mtd: fix building with glibc 2016-08-18 09:49:18 +02:00
md5.c packages: clean up the package folder 2013-06-21 16:54:37 +00:00
md5.h packages: clean up the package folder 2013-06-21 16:54:37 +00:00
mtd.c mtd: add fixwrgg command 2016-10-27 01:50:42 +03:00
mtd.h mtd: add fixwrgg command 2016-10-27 01:50:42 +03:00
seama.c mtd: fix endianness detection on musl 2016-10-27 01:50:42 +03:00
seama.h mtd: seama: add md5 to header struct 2016-05-09 18:53:11 +02:00
trx.c mtd: improve check for TRX header being already fixed 2018-07-17 07:17:48 +02:00
wrgg.c mtd: add fixwrgg command 2016-10-27 01:50:42 +03:00
wrgg.h mtd: add fixwrgg command 2016-10-27 01:50:42 +03:00