summaryrefslogtreecommitdiff
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
parent08f3bb0bcd84b57cc627ab0acda8aebacf27544e (diff)
downloadu-boot-imx-28b5404ca130b4c2840b2b01401713f13b93a3b7.zip
u-boot-imx-28b5404ca130b4c2840b2b01401713f13b93a3b7.tar.gz
u-boot-imx-28b5404ca130b4c2840b2b01401713f13b93a3b7.tar.bz2
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>
-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,