]> git.baikalelectronics.ru Git - uboot.git/commit
imx: syscounter: support timer_get_boot_us
authorJun Nie <jun.nie@linaro.org>
Thu, 21 Jul 2022 10:30:05 +0000 (18:30 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 26 Jul 2022 09:28:43 +0000 (11:28 +0200)
commitf4f38dce829b46b13bb4a486aa820f3dc11e4086
tree9b3c4e2bd3fa4b7e2bc21c5ad1d202d36679ce6f
parent08cdbdb6d604e35df0ddecd2718efca0fc8f1b3b
imx: syscounter: support timer_get_boot_us

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 <jun.nie@linaro.org>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Fabio Estevam <festevam@denx.de>
arch/arm/mach-imx/syscounter.c