Commit 68994b98fc6606b13fbd1e1d1f2406287fbbd1f8

Authored by Simon Glass
Committed by Tom Rini
1 parent 6e2941d787

common: freescale: Move arch-specific imx code to arch-imx

These declarations should not be in common.h. Move them to an
arch-specific header.

Signed-off-by: Simon Glass <sjg@chromium.org>

Showing 2 changed files with 7 additions and 9 deletions Side-by-side Diff

arch/arm/include/asm/arch-imx/cpu.h
... ... @@ -50,4 +50,11 @@
50 50 #define CS0_32M_CS1_32M_CS2_32M_CS3_32M 3
51 51  
52 52 u32 get_imx_reset_cause(void);
  53 +ulong get_systemPLLCLK(void);
  54 +ulong get_FCLK(void);
  55 +ulong get_HCLK(void);
  56 +ulong get_BCLK(void);
  57 +ulong get_PERCLK1(void);
  58 +ulong get_PERCLK2(void);
  59 +ulong get_PERCLK3(void);
... ... @@ -522,15 +522,6 @@
522 522 #if defined(CONFIG_LH7A40X)
523 523 ulong get_PLLCLK (void);
524 524 #endif
525   -#if defined(CONFIG_IMX)
526   -ulong get_systemPLLCLK(void);
527   -ulong get_FCLK(void);
528   -ulong get_HCLK(void);
529   -ulong get_BCLK(void);
530   -ulong get_PERCLK1(void);
531   -ulong get_PERCLK2(void);
532   -ulong get_PERCLK3(void);
533   -#endif
534 525 ulong get_bus_freq (ulong);
535 526 int get_serial_clock(void);
536 527