]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
common: freescale: Move arch-specific imx code to arch-imx
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 14:23:07 +0000 (08:23 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 5 Jun 2017 16:31:22 +0000 (12:31 -0400)
These declarations should not be in common.h. Move them to an
arch-specific header.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-imx/cpu.h
include/common.h

index b0524060b0a9f934209794b35017a982d8f69574..ec5b419e47099343e0f235cb3e7ae449282c97e6 100644 (file)
 #define CS0_32M_CS1_32M_CS2_32M_CS3_32M                3
 
 u32 get_imx_reset_cause(void);
+ulong get_systemPLLCLK(void);
+ulong get_FCLK(void);
+ulong get_HCLK(void);
+ulong get_BCLK(void);
+ulong get_PERCLK1(void);
+ulong get_PERCLK2(void);
+ulong get_PERCLK3(void);
index ba31727a7979e4fbe5b4b566b8ecf8ca0ec6ccad..cabb0093bd0b5b27c08395e6927630d4fb0d13af 100644 (file)
@@ -522,15 +522,6 @@ ulong      get_UCLK (void);
 #if defined(CONFIG_LH7A40X)
 ulong  get_PLLCLK (void);
 #endif
-#if defined(CONFIG_IMX)
-ulong get_systemPLLCLK(void);
-ulong get_FCLK(void);
-ulong get_HCLK(void);
-ulong get_BCLK(void);
-ulong get_PERCLK1(void);
-ulong get_PERCLK2(void);
-ulong get_PERCLK3(void);
-#endif
 ulong  get_bus_freq  (ulong);
 int get_serial_clock(void);