summaryrefslogtreecommitdiff
path: root/post/post.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-06-25 20:20:30 +0200
committerStefan Roese <sr@denx.de>2007-06-25 20:20:30 +0200
commite4feb7638ca0a2138973f14456424acbc332ae43 (patch)
treeb69d9c1ecce5ad19ffa73b58e251974fcbf68025 /post/post.c
parenta1bd6200eccd3a02040a955d5f43d3ee1fc9f93b (diff)
parent1636d1c8529c006d106287cfbc20cd0a246fe1cb (diff)
downloadu-boot-imx-e4feb7638ca0a2138973f14456424acbc332ae43.zip
u-boot-imx-e4feb7638ca0a2138973f14456424acbc332ae43.tar.gz
u-boot-imx-e4feb7638ca0a2138973f14456424acbc332ae43.tar.bz2
Merge with git://www.denx.de/git/u-boot.git
Diffstat (limited to 'post/post.c')
-rw-r--r--post/post.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/post/post.c b/post/post.c
index ac41990..28435cc 100644
--- a/post/post.c
+++ b/post/post.c
@@ -428,7 +428,7 @@ void post_reloc (void)
unsigned long post_time_ms (unsigned long base)
{
#ifdef CONFIG_PPC
- return (unsigned long)get_ticks () / (get_tbclk () / CFG_HZ) - base;
+ return (unsigned long)(get_ticks () / (get_tbclk () / CFG_HZ)) - base;
#else
#warning "Not implemented yet"
return 0; /* Not implemented yet */