Skip to content
Snippets Groups Projects
Commit 4baf23e0 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

common: Move get_OPB_freq() and get_PCI_freq() to PPC header


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

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 58a8ec4c
No related branches found
No related tags found
No related merge requests found
...@@ -289,6 +289,9 @@ static inline void set_mcsr(u32 val) ...@@ -289,6 +289,9 @@ static inline void set_mcsr(u32 val)
int ppc4xx_pci_sync_clock_config(u32 async); int ppc4xx_pci_sync_clock_config(u32 async);
unsigned long get_OPB_freq(void);
unsigned long get_PCI_freq(void);
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
/* for multi-cpu support */ /* for multi-cpu support */
......
...@@ -649,10 +649,6 @@ int get_clocks (void); ...@@ -649,10 +649,6 @@ int get_clocks (void);
#if defined(CONFIG_MPC5xxx) #if defined(CONFIG_MPC5xxx)
int prt_mpc5xxx_clks (void); int prt_mpc5xxx_clks (void);
#endif #endif
#ifdef CONFIG_4xx
ulong get_OPB_freq (void);
ulong get_PCI_freq (void);
#endif
#if defined(CONFIG_S3C24X0) || \ #if defined(CONFIG_S3C24X0) || \
defined(CONFIG_LH7A40X) || \ defined(CONFIG_LH7A40X) || \
defined(CONFIG_EP93XX) defined(CONFIG_EP93XX)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment