]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
common: ep93xx: Move arch-specific declarations out of common
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 14:23:08 +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. Remove those that are not
needed and move the others to an arch-specific location.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/cpu/arm920t/ep93xx/speed.c
include/common.h

index 9dc60b6ff27627e7bbf6799675dada6b1a2d158c..f0ab7d4e3d6a953937d562400b320ed8868be3cc 100644 (file)
@@ -39,7 +39,7 @@ static ulong get_PLLCLK(uint32_t *pllreg)
 }
 
 /* return FCLK frequency */
-ulong get_FCLK()
+ulong get_FCLK(void)
 {
        const uint8_t fclk_divisors[] = { 1, 2, 4, 8, 16, 1, 1, 1 };
        struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE;
index cabb0093bd0b5b27c08395e6927630d4fb0d13af..19839b67f1f1c53fa847476da396b7e867d8414c 100644 (file)
@@ -512,16 +512,6 @@ int serial_stub_tstc(struct stdio_dev *sdev);
 
 /* $(CPU)/speed.c */
 int    get_clocks (void);
-#if defined(CONFIG_LH7A40X) || \
-    defined(CONFIG_EP93XX)
-ulong  get_FCLK (void);
-ulong  get_HCLK (void);
-ulong  get_PCLK (void);
-ulong  get_UCLK (void);
-#endif
-#if defined(CONFIG_LH7A40X)
-ulong  get_PLLCLK (void);
-#endif
 ulong  get_bus_freq  (ulong);
 int get_serial_clock(void);