summaryrefslogtreecommitdiff
path: root/include/env_internal.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2019-09-17 09:17:53 +0200
committerHeiko Schocher <hs@denx.de>2019-10-16 05:42:36 +0200
commite6661cf767ce644e6ff835537449979859060c5b (patch)
tree815585aa39c6bd641ed2569ffcbff990cd047aef /include/env_internal.h
parent524acec47cda4cfab66229e62d0d252b75fef297 (diff)
ubi: Add "skipcheck" command to set/clear this bit in the UBI volume hdr
U-Boot now supports the "skip_check" flag to optionally skip the CRC check at open time. Currently its only possible to set this bit upon UBI volume creation. But it might be very useful to also set this bit on already installed systems (e.g. field upgrade) to make also use of the boot-time decrease on those systems. This patch now adds a new "ubi" command "ubi skipcheck" to set or clear this bit in the UBI volume header: => ubi skipcheck rootfs0 on Setting skip_check on volume rootfs0 BTW: This saves approx. 10 seconds Linux bootup time on a MT7688 based target with 128MiB of SPI NAND. 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@collabora.com> Cc: Heiko Schocher <hs@denx.de> Cc: Andreas Dannenberg <dannenberg@ti.com>
Diffstat (limited to 'include/env_internal.h')
0 files changed, 0 insertions, 0 deletions