From: Siva Durga Prasad Paladugu <siva.durga.palad...@xilinx.com> Print all entries in boot stage report even if the recorded time stamp is zero. This lets the user to know all the recorded entries that are made into. This helps user to know if something went wrong with timestamp for that entry.
Signed-off-by: Siva Durga Prasad Paladugu <siva...@xilinx.com> Signed-off-by: Michal Simek <michal.si...@xilinx.com> --- common/bootstage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/bootstage.c b/common/bootstage.c index c8080dcab5d7..bca74cd207fc 100644 --- a/common/bootstage.c +++ b/common/bootstage.c @@ -277,7 +277,7 @@ void bootstage_report(void) qsort(record, ARRAY_SIZE(record), sizeof(*rec), h_compare_record); for (id = 0; id < BOOTSTAGE_ID_COUNT; id++, rec++) { - if (rec->time_us != 0 && !rec->start_us) + if ((rec->time_us != 0 && !rec->start_us) || rec->name) prev = print_time_record(rec->id, rec, prev); } if (next_id > BOOTSTAGE_ID_COUNT) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot