[U-Boot] [PATCH] armv8: Allow SoCs to override the generic timer

Simon Glass sjg at chromium.org
Thu Jul 23 22:18:51 CEST 2015


On 22 July 2015 at 16:56, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Thierry Reding <treding at nvidia.com>
>
> Some SoCs come with a custom timer interface, so allow them to use that
> instead.
>
> swarren notes: I did consider reworking this patch so the Makefile only
> compiles generic_timer.c ifndef CONFIG_SYS_TIMER_COUNTER. However, I can
> foresee a time where generic_timer.c contains both routines to implement
> U-Boot's internal timer, and to perform other operations related to the
> generic timer, such as initializing the CNTFRQ register for a booted OS.
> If that happens, this version of the change will result in simpler future
> patches.
>
> Signed-off-by: Thierry Reding <treding at nvidia.com>
> Signed-off-by: Tom Warren <twarren at nvidia.com>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
>  arch/arm/cpu/armv8/generic_timer.c | 2 ++
>  1 file changed, 2 insertions(+)

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


More information about the U-Boot mailing list