diff options
author | Igor Lisitsin <igor@emcraft.com> | 2007-03-28 19:06:19 +0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-06-22 23:21:01 +0200 |
commit | a11e06965ec91270c51853407ff1261d3c740386 (patch) | |
tree | 438b2a6816ee30034a1c5d979370185570bbdba8 /post/post.c | |
parent | 02032e8f14751a1a751b09240a4f1cf9f8a2077f (diff) | |
download | u-boot-imx-a11e06965ec91270c51853407ff1261d3c740386.zip u-boot-imx-a11e06965ec91270c51853407ff1261d3c740386.tar.gz u-boot-imx-a11e06965ec91270c51853407ff1261d3c740386.tar.bz2 |
Extend POST support for PPC440
Added memory, CPU, UART, I2C and SPR POST tests for PPC440.
Signed-off-by: Igor Lisitsin <igor@emcraft.com>
--
Diffstat (limited to 'post/post.c')
-rw-r--r-- | post/post.c | 2 |
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 */ |