u-boot-brain/arch/nds32
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
..
cpu/n1213 nds32: ag101/ag102: Fix setting lastdec and now values 2013-07-24 11:50:28 +08:00
include/asm nds32: Enable the function of passing parameters to Linux 2013-07-24 11:50:28 +08:00
lib Build arch/$ARCH/lib/bootm.o depending on CONFIG_CMD_BOOTM 2013-07-16 17:44:30 -05:00
config.mk nds32/lib: add generic funcs in NDS32 lib 2011-10-22 00:53:11 +02:00