* [U-Boot] [PATCH] post: remove #warning for kirkwood CPUs
@ 2012-03-30 13:29 Valentin Longchamp
2012-03-30 16:22 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Valentin Longchamp @ 2012-03-30 13:29 UTC (permalink / raw)
To: u-boot
Since commit 96f5c4b the needed functions (get_ticks() and get_tbclk() )
are defined for kirkwood CPUs as well. This warning is then not relevant
anymore.
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Holger Brunck <holger.brunck@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>
cc: Albert Aribaud <albert.u.boot@aribaud.net>
---
post/post.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/post/post.c b/post/post.c
index 8705b12..3b83ce2 100644
--- a/post/post.c
+++ b/post/post.c
@@ -495,8 +495,7 @@ void post_reloc(void)
*/
unsigned long post_time_ms(unsigned long base)
{
-#if defined(CONFIG_PPC) || defined(CONFIG_BLACKFIN) || \
- (defined(CONFIG_ARM) && !defined(CONFIG_KIRKWOOD))
+#if defined(CONFIG_PPC) || defined(CONFIG_BLACKFIN) || defined(CONFIG_ARM)
return (unsigned long)lldiv(get_ticks(), get_tbclk() / CONFIG_SYS_HZ)
- base;
#else
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] post: remove #warning for kirkwood CPUs
2012-03-30 13:29 [U-Boot] [PATCH] post: remove #warning for kirkwood CPUs Valentin Longchamp
@ 2012-03-30 16:22 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2012-03-30 16:22 UTC (permalink / raw)
To: u-boot
Dear Valentin Longchamp,
In message <1333114168-7151-1-git-send-email-valentin.longchamp@keymile.com> you wrote:
> Since commit 96f5c4b the needed functions (get_ticks() and get_tbclk() )
> are defined for kirkwood CPUs as well. This warning is then not relevant
> anymore.
>
> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
> cc: Holger Brunck <holger.brunck@keymile.com>
> cc: Prafulla Wadaskar <prafulla@marvell.com>
> cc: Albert Aribaud <albert.u.boot@aribaud.net>
> ---
> post/post.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Nobody goes to that restaurant anymore. It's too crowded.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-30 16:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-30 13:29 [U-Boot] [PATCH] post: remove #warning for kirkwood CPUs Valentin Longchamp
2012-03-30 16:22 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.