From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Tue, 17 Sep 2019 07:37:43 +0200 Subject: [U-Boot] [PATCH 1/3] ubi: provide a way to skip CRC checks In-Reply-To: <20190912144103.17261-1-sr@denx.de> References: <20190912144103.17261-1-sr@denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Stefan, Am 12.09.2019 um 16:41 schrieb Stefan Roese: > From: Quentin Schulz > > Some users of static UBI volumes implement their own integrity check, > thus making the volume CRC check done at open time useless. For > instance, this is the case when one use the ubiblock + dm-verity + > squashfs combination, where dm-verity already checks integrity of the > block device but this time at the block granularity instead of verifying > the whole volume. > > Skipping this test drastically improves the boot-time. > > Adapted to U-Boot by Stefan Roese. > > Signed-off-by: Quentin Schulz > Signed-off-by: Stefan Roese > Cc: Quentin Schulz > Cc: Boris Brezillon > Cc: Heiko Schocher > --- > cmd/ubi.c | 25 +++++++++++++++++++------ > drivers/mtd/ubi/kapi.c | 2 +- > drivers/mtd/ubi/ubi-media.h | 6 ++++++ > drivers/mtd/ubi/ubi.h | 4 ++++ > drivers/mtd/ubi/vmt.c | 12 ++++++++++++ > drivers/mtd/ubi/vtbl.c | 3 +++ > include/mtd/ubi-user.h | 18 ++++++++++++++++-- > 7 files changed, 61 insertions(+), 9 deletions(-) Patch look good to me, queued until next merge window opens. Reviewed-by: Heiko Schocher bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de