Skip to contentSkip to conversation

post: remove #warning for kirkwood CPUs

PATCH New Valentin Longchamp 2 participants 2 messages Mar 30, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 post: remove #warning for kirkwood CPUs

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.

cc Holger Brunck <[email protected]>
cc Prafulla Wadaskar <[email protected]>
cc Albert Aribaud <[email protected]>
---
 post/post.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
post/post.c +1 -2
index 8705b12..3b83ce2 100644
@@ -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
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 post: remove #warning for kirkwood CPUs

Dear Valentin Longchamp,

Quoted 11 lines · In message <[email protected]>…

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.

cc Holger Brunck <[email protected]>
cc Prafulla Wadaskar <[email protected]>
cc Albert Aribaud <[email protected]>
---
 post/post.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
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.