[PATCH] imx: syscounter: support timer_get_boot_us

2022-07-26 Thread sbabic
> With supporting timer_get_boot_us, we can profile boot up time with below > configs and function bootstage_mark_name(). > CONFIG_BOOTSTAGE=y > CONFIG_BOOTSTAGE_REPORT=y > CONFIG_CMD_BOOTSTAGE=y > Signed-off-by: Jun Nie > Acked-by: Shawn Guo > Reviewed-by: Fabio Estevam Applied to u-boot-imx, m

Re: [PATCH] imx: syscounter: support timer_get_boot_us

2022-07-25 Thread Fabio Estevam
Hi Jun, On Thu, Jul 21, 2022 at 7:30 AM Jun Nie wrote: > > With supporting timer_get_boot_us, we can profile boot up time with below > configs and function bootstage_mark_name(). > > CONFIG_BOOTSTAGE=y > CONFIG_BOOTSTAGE_REPORT=y > CONFIG_CMD_BOOTSTAGE=y > > Signed-off-by: Jun Nie Reviewed-by:

Re: [PATCH] imx: syscounter: support timer_get_boot_us

2022-07-24 Thread Shawn Guo
On Thu, Jul 21, 2022 at 6:30 PM Jun Nie wrote: > > With supporting timer_get_boot_us, we can profile boot up time with below > configs and function bootstage_mark_name(). > > CONFIG_BOOTSTAGE=y > CONFIG_BOOTSTAGE_REPORT=y > CONFIG_CMD_BOOTSTAGE=y > > Signed-off-by: Jun Nie FWIW, it also fixes bo

[PATCH] imx: syscounter: support timer_get_boot_us

2022-07-21 Thread Jun Nie
With supporting timer_get_boot_us, we can profile boot up time with below configs and function bootstage_mark_name(). CONFIG_BOOTSTAGE=y CONFIG_BOOTSTAGE_REPORT=y CONFIG_CMD_BOOTSTAGE=y Signed-off-by: Jun Nie --- arch/arm/mach-imx/syscounter.c | 9 + 1 file changed, 9 insertions(+) dif