bootstage: Add IDs for SPI flash reading and decompression
authorSimon Glass <sjg@chromium.org>
Mon, 4 May 2015 17:30:56 +0000 (11:30 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 May 2015 00:49:33 +0000 (18:49 -0600)
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>
include/bootstage.h

index be440148dd1a6ee9198a30e2b772d2f681548c20..fe30ab64d6d507118730d7d3336f448bbed54a19 100644 (file)
@@ -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,