]> git.baikalelectronics.ru Git - uboot.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)
commitec84497b049f245b436414c654400f665bf20aa0
tree7db5ddddfb993a285052604c8058c229a59a4097
parent25a4f823956322f0c59555c82e8920fa3971ae72
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