diff options
author | Tom Rini <trini@konsulko.com> | 2019-10-17 07:26:16 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-10-17 07:26:16 -0400 |
commit | a2fce50455c9831f36765e5813b0b5e98f55d70b (patch) | |
tree | 4a0d4bfaf6392a1639b93ce4f09e9f0f68aa63b9 /drivers/mtd/ubi/kapi.c | |
parent | c83b1bb923421e95e499b22b010d2f9f463c1226 (diff) | |
parent | 611623417403256dc79205a89d4dc7f826bc805f (diff) |
Merge tag 'for-v2020.01' of https://gitlab.denx.de/u-boot/custodians/u-boot-ubi
ubi enhancements for 2020.01
- provide a way for skipping crc checks ported from linux, and add an
U-Boot command to set this flag on already installed systems.
- fix redundand environment management
Diffstat (limited to 'drivers/mtd/ubi/kapi.c')
-rw-r--r-- | drivers/mtd/ubi/kapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/kapi.c b/drivers/mtd/ubi/kapi.c index 2e171b0209c..bcea71b1b23 100644 --- a/drivers/mtd/ubi/kapi.c +++ b/drivers/mtd/ubi/kapi.c @@ -196,7 +196,7 @@ struct ubi_volume_desc *ubi_open_volume(int ubi_num, int vol_id, int mode) desc->mode = mode; mutex_lock(&ubi->ckvol_mutex); - if (!vol->checked) { + if (!vol->checked && !vol->skip_check) { /* This is the first open - check the volume */ err = ubi_check_volume(ubi, vol_id); if (err < 0) { |