]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: timer: factor out FSL arch timer erratum workaround
authorAndre Przywara <andre.przywara@arm.com>
Wed, 27 Jun 2018 00:42:52 +0000 (01:42 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 3 Jul 2018 16:29:46 +0000 (21:59 +0530)
commit38651588d3d9a977ca457049d6357408ddad4a8b
tree7db5ddddfb993a285052604c8058c229a59a4097
parent76d69eb01dee492f5ecf43c43d7301fec6c5b99f
arm: timer: factor out FSL arch timer erratum workaround

At the moment we have the workaround for the Freescale arch timer
erratum A-008585 merged into the generic timer_read_counter() routine.
Split those two up, so that we can add other errata workaround more
easily. Also add an explaining comment on the way.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Andreas Färber <afaerber@suse.de>
Tested-by: Guillaume Gardet <guillaume.gardet@free.fr>
arch/arm/cpu/armv8/generic_timer.c