On Wed, Jul 22, 2015 at 04:56:10PM -0600, Stephen Warren wrote:
> From: Thierry Reding <tred...@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 <tred...@nvidia.com>
> Signed-off-by: Tom Warren <twar...@nvidia.com>
> Signed-off-by: Stephen Warren <swar...@nvidia.com>
> ---
>  arch/arm/cpu/armv8/generic_timer.c | 2 ++
>  1 file changed, 2 insertions(+)

Marc Zyngier and David Feng had objections to this when I posted[0]. I
ended up solving this differently, by initializing the architectural
timer earlier and then using the architected timer on ARM64.

I'll post the two patches I have in my tree as a replacement for this
and sorry for causing such a mess.

Thierry

[0]: http://lists.denx.de/pipermail/u-boot/2015-March/208505.html

Attachment: signature.asc
Description: PGP signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to