From: Simon Glass Date: Wed, 17 May 2017 14:23:07 +0000 (-0600) Subject: common: freescale: Move arch-specific imx code to arch-imx X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=68994b98fc6606b13fbd1e1d1f2406287fbbd1f8;p=u-boot.git 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 --- diff --git a/arch/arm/include/asm/arch-imx/cpu.h b/arch/arm/include/asm/arch-imx/cpu.h index b0524060b0..ec5b419e47 100644 --- a/arch/arm/include/asm/arch-imx/cpu.h +++ b/arch/arm/include/asm/arch-imx/cpu.h @@ -50,3 +50,10 @@ #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); diff --git a/include/common.h b/include/common.h index ba31727a79..cabb0093bd 100644 --- a/include/common.h +++ b/include/common.h @@ -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);