u-boot-brain/arch/nds32/cpu/n1213
Axel Lin 4fc9670513 nds32: ag101/ag102: Fix setting lastdec and now values
The timer3 counter unit for lastdesc and now values are inconsistent in current
code. The unit of "readl(&tmr->timer3_counter) / (CONFIG_SYS_CLK_FREQ / 2)" is
second. However, CONFIG_SYS_HZ is defined as 1000 in board config file.
This means the accuracy of "lastdec" and "now" should be in millisecond,
thus fix the equation to set lastdec and now variables accordingly.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
2013-07-24 11:50:28 +08:00
..
ag101 nds32: ag101/ag102: Fix setting lastdec and now values 2013-07-24 11:50:28 +08:00
ag102 nds32: ag101/ag102: Fix setting lastdec and now values 2013-07-24 11:50:28 +08:00
Makefile nds32/core N1213: NDS32 N12 core family N1213 2011-10-22 00:52:36 +02:00
start.S Replace __bss_end__ with __bss_end 2013-03-15 16:13:54 -04:00
u-boot.lds Merge branch 'master' of git://git.denx.de/u-boot-arm 2013-03-18 14:37:18 -04:00