[PATCH 03/10] arm: armv8: generic_timer: Add timer_early functions

Simon Glass sjg at chromium.org
Sun Sep 25 16:15:42 CEST 2022


On Wed, 21 Sept 2022 at 08:06, Stefan Roese <sr at denx.de> wrote:
>
> Currently this timer driver provides timer_get_boot_us() to support the
> BOOTSTAGE functionality. This patch adds the timer_early functions so
> that the "normal" timer functions can be used, when CONFIG_TIMER_EARLY
> is enabled.
>
> timer_get_boot_us() will get removed in a follow-up patch, once the
> BOOTSTAGE interface is migrated to timer_get_us().
>
> Signed-off-by: Stefan Roese <sr at denx.de>
> Cc: Michal Simek <michal.simek at xilinx.com>
> Cc: Andre Przywara <andre.przywara at arm.com>
> ---
>  arch/arm/cpu/armv8/generic_timer.c | 10 ++++++++++
>  1 file changed, 10 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list