30 Mar 2012 15:29
[PATCH] post: remove #warning for kirkwood CPUs
Valentin Longchamp <valentin.longchamp <at> keymile.com>
2012-03-30 13:29:28 GMT
2012-03-30 13:29:28 GMT
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 <at> keymile.com>
cc: Holger Brunck <holger.brunck <at> keymile.com>
cc: Prafulla Wadaskar <prafulla <at> marvell.com>
cc: Albert Aribaud <albert.u.boot <at> 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
<at> <at> -495,8 +495,7 <at> <at> 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
RSS Feed