tegra: video: Time the LCD init
[oweals/u-boot.git] / drivers / video / tegra124 / display.c
index bbbca13bdc4e1d76925c37f539c99808e19a8fb6..47752b27f12f55371eb38dfd2e8d06e24107977e 100644 (file)
@@ -471,7 +471,9 @@ static int tegra124_lcd_probe(struct udevice *dev)
        int ret;
 
        start = get_timer(0);
+       bootstage_start(BOOTSTAGE_ID_ACCUM_LCD, "lcd");
        ret = tegra124_lcd_init(dev, (void *)plat->base, VIDEO_BPP16);
+       bootstage_accum(BOOTSTAGE_ID_ACCUM_LCD);
        debug("LCD init took %lu ms\n", get_timer(start));
        if (ret)
                printf("%s: Error %d\n", __func__, ret);