From: Simon Glass Date: Mon, 4 May 2015 17:30:56 +0000 (-0600) Subject: bootstage: Add IDs for SPI flash reading and decompression X-Git-Tag: v2015.07-rc2~226 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=28b5404ca130b4c2840b2b01401713f13b93a3b7;p=oweals%2Fu-boot.git 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 Reviewed-by: Joe Hershberger Reviewed-by: Jagan Teki --- 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,