cmd: disk: Remove fit_print_contents API
authorRavik Hasija <rahasij@linux.microsoft.com>
Fri, 8 Jan 2021 17:55:58 +0000 (09:55 -0800)
committerTom Rini <trini@konsulko.com>
Sun, 17 Jan 2021 00:17:11 +0000 (19:17 -0500)
fit_print_contents prints similar fit information as printed in bootm stages.
Removing this API reduces redundancy & provides improvement in boottime.

Signed-off-by: Ravik Hasija <rahasij@linux.microsoft.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/disk.c

index 8060e75..0bc3808 100644 (file)
@@ -120,7 +120,6 @@ int common_diskboot(struct cmd_tbl *cmdtp, const char *intf, int argc,
                        return 1;
                }
                bootstage_mark(BOOTSTAGE_ID_IDE_FIT_READ_OK);
-               fit_print_contents(fit_hdr);
        }
 #endif