summaryrefslogtreecommitdiff
path: root/post
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2011-09-14 19:34:33 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-10-27 21:56:30 +0200
commitf31a911fe2ceb59a810b295171da7668a9a87c92 (patch)
tree59234c2747756d16464255b2ade2fb93a53163d0 /post
parente92372c8a70d54cdba732fb9da914337e0a89d28 (diff)
downloadu-boot-imx-f31a911fe2ceb59a810b295171da7668a9a87c92.zip
u-boot-imx-f31a911fe2ceb59a810b295171da7668a9a87c92.tar.gz
u-boot-imx-f31a911fe2ceb59a810b295171da7668a9a87c92.tar.bz2
arm, post: add missing post_time_ms for arm
Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Diffstat (limited to 'post')
-rw-r--r--post/post.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/post/post.c b/post/post.c
index 636d93f..dc9c0f2 100644
--- a/post/post.c
+++ b/post/post.c
@@ -500,7 +500,7 @@ void post_reloc(void)
*/
unsigned long post_time_ms(unsigned long base)
{
-#ifdef CONFIG_PPC
+#if defined(CONFIG_PPC) || defined(CONFIG_ARM)
return (unsigned long)(get_ticks() / (get_tbclk() / CONFIG_SYS_HZ))
- base;
#else