Hello Stefan,
Am 12.09.2019 um 16:41 schrieb Stefan Roese:
From: Quentin Schulz <quentin.sch...@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.sch...@bootlin.com>
Signed-off-by: Stefan Roese <s...@denx.de>
Cc: Quentin Schulz <quentin.sch...@bootlin.com>
Cc: Boris Brezillon <boris.brezil...@bootlin.com>
Cc: Heiko Schocher <h...@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 <h...@denx.de>
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: h...@denx.de
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot