summaryrefslogtreecommitdiffstats
path: root/include/bootstage.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-27 22:13:44 -0700
committerSimon Glass <sjg@chromium.org>2015-02-06 12:07:38 -0700
commitabbdb262570f415b5eaea036486076669eff1e76 (patch)
tree9449494d21b01b70d8afce3256fdc53f70f41105 /include/bootstage.h
parent5093badbb59e83b42b8f9e5579e07e3916271207 (diff)
downloadblackbird-obmc-uboot-abbdb262570f415b5eaea036486076669eff1e76.tar.gz
blackbird-obmc-uboot-abbdb262570f415b5eaea036486076669eff1e76.zip
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>
Diffstat (limited to 'include/bootstage.h')
-rw-r--r--include/bootstage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bootstage.h b/include/bootstage.h
index df13ab2f63..6b7588d38f 100644
--- a/include/bootstage.h
+++ b/include/bootstage.h
@@ -194,6 +194,7 @@ enum bootstage_id {
BOOTSTAGE_ID_MAIN_CPU_READY,
BOOTSTAGE_ID_ACCUM_LCD,
+ BOOTSTAGE_ID_ACCUM_SCSI,
/* a few spare for the user, from here */
BOOTSTAGE_ID_USER,
OpenPOWER on IntegriCloud