Skip to content

Commit

Permalink
bootstage: Dont print reset entry separately
Browse files Browse the repository at this point in the history
Printing the first entry reset separately is no longer
needed as it now prints the entries with valid name and
timestamp zero. This removes duplicate printing of the reset
record.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
  • Loading branch information
Siva Durga Prasad Paladugu authored and Michal Simek committed Mar 7, 2017
1 parent 46456b0 commit 32727e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/bootstage.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ void bootstage_report(void)
/* Fake the first record - we could get it from early boot */
rec->name = "reset";
rec->time_us = 0;
prev = print_time_record(BOOTSTAGE_ID_AWAKE, rec, 0);
prev = 0;

/* Sort records by increasing time */
qsort(record, ARRAY_SIZE(record), sizeof(*rec), h_compare_record);
Expand Down

0 comments on commit 32727e4

Please sign in to comment.