summaryrefslogtreecommitdiff
path: root/include/bootstage.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-05-04 17:30:56 (GMT)
committerSimon Glass <sjg@chromium.org>2015-05-15 00:49:33 (GMT)
commit28b5404ca130b4c2840b2b01401713f13b93a3b7 (patch)
tree00d6a4e04b4fea4fd9d3ad8822ccae9a08791bdf /include/bootstage.h
parent08f3bb0bcd84b57cc627ab0acda8aebacf27544e (diff)
downloadu-boot-28b5404ca130b4c2840b2b01401713f13b93a3b7.tar.xz
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 be44014..fe30ab6 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,