aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2019-09-12 16:41:02 +0200
committerHeiko Schocher <hs@denx.de>2019-10-16 05:42:27 +0200
commit524acec47cda4cfab66229e62d0d252b75fef297 (patch)
tree4cf54792488bcb5dbac19277b46696c723c59369
parent386f20cade50ed36674e3e5827cb282eb1da95c2 (diff)
downloadu-boot-524acec47cda4cfab66229e62d0d252b75fef297.zip
u-boot-524acec47cda4cfab66229e62d0d252b75fef297.tar.gz
u-boot-524acec47cda4cfab66229e62d0d252b75fef297.tar.bz2
ubi: Print skip_check in ubi_dump_vol_info()
It might be interesting, if "skip_check" is set or not, so lets print this flag in ubi_dump_vol_info() as well. hs: fix typo in commit message 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> Reviewed-by: Heiko Schocher <hs@denx.de>
-rw-r--r--drivers/mtd/ubi/debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/debug.c b/drivers/mtd/ubi/debug.c
index 0a74275..f3d348d 100644
--- a/drivers/mtd/ubi/debug.c
+++ b/drivers/mtd/ubi/debug.c
@@ -109,6 +109,7 @@ void ubi_dump_vol_info(const struct ubi_volume *vol)
printf("\tlast_eb_bytes %d\n", vol->last_eb_bytes);
printf("\tcorrupted %d\n", vol->corrupted);
printf("\tupd_marker %d\n", vol->upd_marker);
+ printf("\tskip_check %d\n", vol->skip_check);
if (vol->name_len <= UBI_VOL_NAME_MAX &&
strnlen(vol->name, vol->name_len + 1) == vol->name_len) {