mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
bootstage: Record the time taken to set up driver model
Driver model is set up ones before relocation and once after. Record the time taken in each case. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -313,7 +313,9 @@ static int initr_dm(void)
|
||||
#ifdef CONFIG_TIMER
|
||||
gd->timer = NULL;
|
||||
#endif
|
||||
bootstage_start(BOOTSTATE_ID_ACCUM_DM_R, "dm_r");
|
||||
ret = dm_init_and_scan(false);
|
||||
bootstage_accum(BOOTSTATE_ID_ACCUM_DM_R);
|
||||
if (ret)
|
||||
return ret;
|
||||
#ifdef CONFIG_TIMER_EARLY
|
||||
|
Reference in New Issue
Block a user