Skip to content
Snippets Groups Projects
Commit 51b5870b authored by Li Haibo's avatar Li Haibo Committed by Stefano Babic
Browse files

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: default avatarLi Haibo <hbli@sinocastel.com>
parent a9804be8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment