scsi: bootstage: Measure time taken to scan the bus
authorSimon Glass <sjg@chromium.org>
Wed, 28 Jan 2015 05:13:44 +0000 (22:13 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 6 Feb 2015 19:07:38 +0000 (12:07 -0700)
commitabbdb262570f415b5eaea036486076669eff1e76
tree9449494d21b01b70d8afce3256fdc53f70f41105
parent5093badbb59e83b42b8f9e5579e07e3916271207
scsi: bootstage: Measure time taken to scan the bus

On some hardware this time can be significant. Add bootstage support for
measuring this. The result can be obtained using 'bootstage report' or
passed on to the Linux via the device tree.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
common/cmd_scsi.c
include/bootstage.h