You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Rafał Miłecki 82498a7f7a 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>
6 years ago
..
Makefile ramips: add support for D-Link DAP-1522 A1 6 years ago
crc32.c
crc32.h
fis.c treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
fis.h
imagetag.c treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
jffs2.c treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
jffs2.h
linksys_bootcount.c mtd: fix building with glibc 8 years ago
md5.c
md5.h
mtd.c mtd: fix erase handling with partition offset on write 6 years ago
mtd.h mtd: add fixwrg command 6 years ago
seama.c mtd: fix endianness detection on musl 8 years ago
seama.h mtd: seama: add md5 to header struct 8 years ago
trx.c mtd: improve check for TRX header being already fixed 6 years ago
wrg.c mtd: add fixwrg command 6 years ago
wrgg.c mtd: add fixwrgg command 8 years ago
wrgg.h mtd: add fixwrgg command 8 years ago