]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
common: Move get_OPB_freq() and get_PCI_freq() to PPC header
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 14:22:39 +0000 (08:22 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 5 Jun 2017 15:02:28 +0000 (11:02 -0400)
These should not be in common.h. Move the to an arch-specific header.

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

index b8b0ff9f25bb2d148f6f6458a30e771dae059681..30e6559ba4340a1ec4ac5e12d324a03ce9478e46 100644 (file)
@@ -289,6 +289,9 @@ static inline void set_mcsr(u32 val)
 
 int ppc4xx_pci_sync_clock_config(u32 async);
 
+unsigned long get_OPB_freq(void);
+unsigned long get_PCI_freq(void);
+
 #endif /* __ASSEMBLY__ */
 
 /* for multi-cpu support */
index 6dd0d2f552d81f2008406065b86182dabdd765ca..8b64407fd178ddc8d84a88253718117ca8c4468b 100644 (file)
@@ -649,10 +649,6 @@ int        get_clocks (void);
 #if defined(CONFIG_MPC5xxx)
 int    prt_mpc5xxx_clks (void);
 #endif
-#ifdef CONFIG_4xx
-ulong  get_OPB_freq (void);
-ulong  get_PCI_freq (void);
-#endif
 #if defined(CONFIG_S3C24X0) || \
     defined(CONFIG_LH7A40X) || \
     defined(CONFIG_EP93XX)