
Hello Stefan,
Am 12.09.2019 um 16:41 schrieb Stefan Roese:
From: Quentin Schulz quentin.schulz@bootlin.com
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 Cc: Quentin Schulz quentin.schulz@bootlin.com Cc: Boris Brezillon boris.brezillon@bootlin.com Cc: Heiko Schocher hs@denx.de
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 hs@denx.de
bye, Heiko