]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 10:59:10 +0000 (12:59 +0200)
commit3430caba9b73522f5df8b8cebb182a2cac5d31bf
tree292dd6175cebd08a99c90b384fda29ebfc5caf1e
parent36b5f1988cf157c7508edd51a57bdef626300345
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