diff options
author | Wolfgang Denk <wd@denx.de> | 2008-07-10 10:50:38 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-10 10:50:38 +0200 |
commit | c4b81f3238d77a4df343bd70ddfb7ebd29ca1dda (patch) | |
tree | aec9936268a0f04695290dc2b5b2a81f6373d968 /board/esd | |
parent | e870690bdca154943ecadd5212d2d59c1b9d391b (diff) | |
parent | b002144e1dc21374b1ef5281fe6b5d014af96650 (diff) | |
download | u-boot-imx-c4b81f3238d77a4df343bd70ddfb7ebd29ca1dda.zip u-boot-imx-c4b81f3238d77a4df343bd70ddfb7ebd29ca1dda.tar.gz u-boot-imx-c4b81f3238d77a4df343bd70ddfb7ebd29ca1dda.tar.bz2 |
Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xx
Diffstat (limited to 'board/esd')
-rw-r--r-- | board/esd/du440/du440.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/esd/du440/du440.c b/board/esd/du440/du440.c index 3dbb2e1..8765cc1 100644 --- a/board/esd/du440/du440.c +++ b/board/esd/du440/du440.c @@ -956,9 +956,9 @@ int do_time(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) ret = run_command (cmd, 0); end = get_ticks(); - printf("ticks=%d\n", (ulong)(end - start)); + printf("ticks=%ld\n", (ulong)(end - start)); us = (ulong)((1000L * (end - start)) / (get_tbclk() / 1000)); - printf("usec=%d\n", us); + printf("usec=%ld\n", us); return ret; } |