summaryrefslogtreecommitdiffstats
path: root/include/bootstage.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-05-04 11:30:56 -0600
committerSimon Glass <sjg@chromium.org>2015-05-14 18:49:33 -0600
commit28b5404ca130b4c2840b2b01401713f13b93a3b7 (patch)
tree00d6a4e04b4fea4fd9d3ad8822ccae9a08791bdf /include/bootstage.h
parent08f3bb0bcd84b57cc627ab0acda8aebacf27544e (diff)
downloadblackbird-obmc-uboot-28b5404ca130b4c2840b2b01401713f13b93a3b7.tar.gz
blackbird-obmc-uboot-28b5404ca130b4c2840b2b01401713f13b93a3b7.zip
bootstage: Add IDs for SPI flash reading and decompression
We maintain an accumulator for time spent reading from SPI flash, since this can be significant on some platforms. Also add one for decompression time. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to 'include/bootstage.h')
-rw-r--r--include/bootstage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/bootstage.h b/include/bootstage.h
index be440148dd..fe30ab64d6 100644
--- a/include/bootstage.h
+++ b/include/bootstage.h
@@ -195,6 +195,8 @@ enum bootstage_id {
BOOTSTAGE_ID_ACCUM_LCD,
BOOTSTAGE_ID_ACCUM_SCSI,
+ BOOTSTAGE_ID_ACCUM_SPI,
+ BOOTSTAGE_ID_ACCUM_DECOMP,
/* a few spare for the user, from here */
BOOTSTAGE_ID_USER,
OpenPOWER on IntegriCloud