public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Holger Brunck <holger.brunck@keymile.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm, post: add missing post_time_ms for arm
Date: Mon, 21 Nov 2011 13:57:53 +0100	[thread overview]
Message-ID: <4ECA4AD1.70307@keymile.com> (raw)
In-Reply-To: <1316064873-5500-1-git-send-email-hs@denx.de>

Hi Heiko,

On 09/15/2011 07:34 AM, Heiko Schocher wrote:
> Signed-off-by: Heiko Schocher <hs@denx.de>
> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
> ---
>  post/post.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/post/post.c b/post/post.c
> index 6c59f91..0bfca75 100644
> --- a/post/post.c
> +++ b/post/post.c
> @@ -488,7 +488,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

this commit breaks post test support for our keymile arm boards:

> make km_kirkwood
[...]
post/libpost.o: In function `post_time_ms':
/daten/ws_root/hbu/u-boot-km.git/post/post.c:504: undefined reference to `get_ticks'
/daten/ws_root/hbu/u-boot-km.git/post/post.c:504: undefined reference to `get_tbclk'

So it seems that the kirkwood code has no implementation for these functions.
Any idea how to fix this?

Best regards
Holger

  reply	other threads:[~2011-11-21 12:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-15  5:34 [U-Boot] [PATCH] arm, post: add missing post_time_ms for arm Heiko Schocher
2011-11-21 12:57 ` Holger Brunck [this message]
2011-11-21 14:09   ` Heiko Schocher
2011-11-21 14:27     ` Holger Brunck
2011-11-22  8:26     ` Prafulla Wadaskar
2011-11-22 21:00 ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ECA4AD1.70307@keymile.com \
    --to=holger.brunck@keymile.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox