From: Simon Glass Date: Mon, 12 Jun 2017 12:21:32 +0000 (-0600) Subject: tegra: video: Time the LCD init X-Git-Tag: v2017.09-rc1~214^2~20 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=23acc48d8499944f41e4608b5683b1cdce95ec9b;p=u-boot tegra: video: Time the LCD init Calculate the time taken to set up the LCD. Signed-off-by: Simon Glass Tested-by: Marcel Ziswiler Tested-on: Beaver, Jetson-TK1 --- diff --git a/drivers/video/tegra124/display.c b/drivers/video/tegra124/display.c index bbbca13bdc..47752b27f1 100644 --- a/drivers/video/tegra124/display.c +++ b/drivers/video/tegra124/display.c @@ -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);