]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - post/post.c
Extend POST support for PPC440
[karo-tx-uboot.git] / post / post.c
index ac419908605578ce66322fe5ea26ba08303a9073..28435cc4af8dc15fa15d9754310c653dd885e0c3 100644 (file)
@@ -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 */