u-boot/drivers/mtd/ubi
Quentin Schulz 386f20cade ubi: provide a way to skip CRC checks
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 <quentin.schulz@bootlin.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Heiko Schocher <hs@denx.de>
Cc: Quentin Schulz <quentin.schulz@bootlin.com>
Cc: Boris Brezillon <boris.brezillon@bootlin.com>
2019-10-16 05:42:27 +02:00
..
attach.c lib: Add hexdump 2018-06-13 07:49:12 -04:00
build.c mtd: ubi: Add missing newlines in ubi_init() 2018-06-06 10:25:13 +02:00
crc32.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
crc32defs.h UBI: Add basic UBI support to U-Boot (Part 2/8) 2008-11-19 20:34:39 +01:00
crc32table.h mtd, ubi, ubifs: resync with Linux-3.14 2014-08-25 19:25:55 -04:00
debug.c lib: Add hexdump 2018-06-13 07:49:12 -04:00
debug.h mtd: ubi, ubifs debug: Use pr_debug instead of pr_crit 2019-04-09 07:46:42 +02:00
eba.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fastmap-wl.c ubi: fastmap: Implement produce_free_peb() 2018-05-22 11:39:05 +02:00
fastmap.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
io.c ubi: fix UBI_SILENCE_MSG 2019-07-09 07:00:23 +02:00
kapi.c ubi: provide a way to skip CRC checks 2019-10-16 05:42:27 +02:00
Kconfig ubi: fix UBI_SILENCE_MSG 2019-07-09 07:00:23 +02:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
misc.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ubi-media.h ubi: provide a way to skip CRC checks 2019-10-16 05:42:27 +02:00
ubi.h ubi: provide a way to skip CRC checks 2019-10-16 05:42:27 +02:00
upd.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
vmt.c ubi: provide a way to skip CRC checks 2019-10-16 05:42:27 +02:00
vtbl.c ubi: provide a way to skip CRC checks 2019-10-16 05:42:27 +02:00
wl.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
wl.h ubi,ubifs: sync with linux v4.2 2015-10-26 09:22:36 +01:00