]> git.sur5r.net Git - u-boot/blobdiff - common/cmd_scsi.c
scsi: bootstage: Measure time taken to scan the bus
[u-boot] / common / cmd_scsi.c
index cbc107ea5014fd8f36b5f6b42885ec44ba6dfb36..a0a62ebdca8e8d18e36ecfa7fac6aea6328d2df5 100644 (file)
@@ -217,8 +217,10 @@ void scsi_init(void)
                       (busdevfunc >> 8) & 0x7);
        }
 #endif
+       bootstage_start(BOOTSTAGE_ID_ACCUM_SCSI, "ahci");
        scsi_low_level_init(busdevfunc);
        scsi_scan(1);
+       bootstage_accum(BOOTSTAGE_ID_ACCUM_SCSI);
 }
 #endif