UPSTREAM: iso: Reduce verbosity on test and info calls

The test and info callbacks into the partition callback struct are
used by the "part list" command on the command line. That command
is used by the distro script.

With verb=1 set, "part list" thus throws a lot of warnings about
partitions it can't find when an upper layer searches for partitions.

So let's reduce verbosity to bring it to the same level of noise
as the other partition targets.

Change-Id: I289d3fe2f1d11b18183b834189463578ba5cab90
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit b16339e254371b2823f48186889775b90b044f7e)
This commit is contained in:
Alexander Graf 2017-10-06 13:35:07 +02:00 committed by Kever Yang
parent aa0e69ce72
commit 1b659546cc
1 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ found:
static int part_get_info_iso(struct blk_desc *dev_desc, int part_num,
disk_partition_t *info)
{
return part_get_info_iso_verb(dev_desc, part_num, info, 1);
return part_get_info_iso_verb(dev_desc, part_num, info, 0);
}
static void part_print_iso(struct blk_desc *dev_desc)
@ -228,7 +228,7 @@ static int part_test_iso(struct blk_desc *dev_desc)
{
disk_partition_t info;
return part_get_info_iso_verb(dev_desc, 1, &info, 1);
return part_get_info_iso_verb(dev_desc, 1, &info, 0);
}
U_BOOT_PART_TYPE(iso) = {