Browse Source

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 <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>
imx_v2013.04_3.5.7_1.0.0_alpha
Valentin Longchamp 9 years ago
committed by Wolfgang Denk
parent
commit
4e518b8875
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      post/post.c

+ 1
- 2
post/post.c View File

@ -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


Loading…
Cancel
Save