]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: zynq: Fix timer loadaddress
authorMichal Simek <michal.simek@xilinx.com>
Wed, 28 Aug 2013 05:36:31 +0000 (07:36 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 23 Sep 2013 14:26:32 +0000 (16:26 +0200)
commit7ba69b7dcc94879f9dfe6beb3416512114556c04
tree880b4abb27ccb3090e496bd0651829539ae55f57
parent373d79839451de08c3dce9231a133178378c4590
arm: zynq: Fix timer loadaddress

Reload address was written to the counter register
instead of load register.
The problem happens when timer expires but never
reload to ~0UL (it is downcount timer).

Reported-by: Stephen MacMahon <stephenm@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv7/zynq/timer.c