commit | cfdda9e13d26396636a4390f32b5d99c53263de8 | [log] [tgz] |
---|---|---|
author | Li Haibo <hbli@sinocastel.com> | Tue Aug 10 14:18:38 2010 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Tue Aug 10 09:46:44 2010 +0200 |
tree | 5bd027070cc293e951c7fa27086e702b14a82579 | |
parent | 2a212b6e947cfc8dbb28103d0088cf429d4ffaea [diff] |
MX51EVK: fix return value of get_timer_masked get_timer_masked() should return current timestamp, not current ticks from hardware register. Tested on one custom board with NAND flash. Without this patch, NAND write always TIMEOUT because get_timer(0) return a big value. This patch applies for u-boot-2010.06 Signed-off-by: Li Haibo <hbli@sinocastel.com>