armv8/fsl-lsch3: Implement workaround for erratum A008585
authorYork Sun <yorksun@freescale.com>
Sat, 21 Mar 2015 02:28:05 +0000 (19:28 -0700)
committerYork Sun <yorksun@freescale.com>
Thu, 23 Apr 2015 15:55:54 +0000 (08:55 -0700)
commit060ef094600373ea2b25111006edc56c072d9bd7
treec43903ed0168ea3d2790da49fc674f9550d080e8
parent5abf13e48a818eeb44cd236c3d3de79a0df59fac
armv8/fsl-lsch3: Implement workaround for erratum A008585

Generic Timer may contain an erroneous value. The workaround is to
read it twice until getting the same value.

Signed-off-by: York Sun <yorksun@freescale.com>
arch/arm/cpu/armv8/generic_timer.c
arch/arm/include/asm/arch-fsl-lsch3/config.h