post: remove #warning for kirkwood CPUs
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.
Signed-off-by Valentin Longchamp <[email protected]>
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
@@ -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
Wolfgang Denk
AppliedPATCH 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()andget_tbclk()) are defined for kirkwood CPUs as well. This warning is then not relevant anymore.Signed-off-by Valentin Longchamp <[email protected]>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.