diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2018-07-15 23:23:42 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2018-07-15 23:27:09 +0200 |
commit | 82498a7f7aa86ad0e93ef60d50dccaa0a9549e4c (patch) | |
tree | 16db1aab529e2d4fb3812ee250b1ae4df497505d /package/system/mtd/Makefile | |
parent | 49bdd43da236af54b6b82d995b81532e7becf08f (diff) | |
download | upstream-82498a7f7aa86ad0e93ef60d50dccaa0a9549e4c.tar.gz upstream-82498a7f7aa86ad0e93ef60d50dccaa0a9549e4c.tar.bz2 upstream-82498a7f7aa86ad0e93ef60d50dccaa0a9549e4c.zip |
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>
Diffstat (limited to 'package/system/mtd/Makefile')
-rw-r--r-- | package/system/mtd/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/system/mtd/Makefile b/package/system/mtd/Makefile index 969e1c711c..65de47f23f 100644 --- a/package/system/mtd/Makefile +++ b/package/system/mtd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=mtd -PKG_RELEASE:=22 +PKG_RELEASE:=23 PKG_BUILD_DIR := $(KERNEL_BUILD_DIR)/$(PKG_NAME) STAMP_PREPARED := $(STAMP_PREPARED)_$(call confvar,CONFIG_MTD_REDBOOT_PARTS) |