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: NAndre Przywara <andre.przywara@arm.com> Tested-by: NJagan Teki <jagan@amarulasolutions.com> Tested-by: NAndreas Färber <afaerber@suse.de> Tested-by: NGuillaume Gardet <guillaume.gardet@free.fr>
Showing
想要评论请 注册 或 登录