[U-Boot] [PATCH 03/24] bootstage: Add IDs for SPI flash reading and decompression

Simon Glass sjg at chromium.org
Mon May 4 19:30:56 CEST 2015


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 at chromium.org>
---

 include/bootstage.h | 2 ++
 1 file changed, 2 insertions(+)

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,
-- 
2.2.0.rc0.207.ga3a616c



More information about the U-Boot mailing list