aboutsummaryrefslogtreecommitdiffstats
path: root/disk
diff options
context:
space:
mode:
authorAlexander Graf2017-10-06 06:35:07 -0500
committerTom Rini2017-10-16 08:42:51 -0500
commitb16339e254371b2823f48186889775b90b044f7e (patch)
treec67a266b4de12f117ec1d5ca871267a63c162e39 /disk
parent7d8e9e8e24b247944bbff6ab68e03cac81fde218 (diff)
downloadu-boot-b16339e254371b2823f48186889775b90b044f7e.tar.gz
u-boot-b16339e254371b2823f48186889775b90b044f7e.tar.xz
u-boot-b16339e254371b2823f48186889775b90b044f7e.zip
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. Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'disk')
-rw-r--r--disk/part_iso.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/disk/part_iso.c b/disk/part_iso.c
index 8aef251f4e..4036b00b25 100644
--- a/disk/part_iso.c
+++ b/disk/part_iso.c
@@ -202,7 +202,7 @@ found:
202static int part_get_info_iso(struct blk_desc *dev_desc, int part_num, 202static int part_get_info_iso(struct blk_desc *dev_desc, int part_num,
203 disk_partition_t *info) 203 disk_partition_t *info)
204{ 204{
205 return part_get_info_iso_verb(dev_desc, part_num, info, 1); 205 return part_get_info_iso_verb(dev_desc, part_num, info, 0);
206} 206}
207 207
208static void part_print_iso(struct blk_desc *dev_desc) 208static void part_print_iso(struct blk_desc *dev_desc)
@@ -228,7 +228,7 @@ static int part_test_iso(struct blk_desc *dev_desc)
228{ 228{
229 disk_partition_t info; 229 disk_partition_t info;
230 230
231 return part_get_info_iso_verb(dev_desc, 1, &info, 1); 231 return part_get_info_iso_verb(dev_desc, 1, &info, 0);
232} 232}
233 233
234U_BOOT_PART_TYPE(iso) = { 234U_BOOT_PART_TYPE(iso) = {