summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-17 14:22:39 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-05 15:02:28 (GMT)
commit4baf23e0beaca4ea90983c8f97e1bba0282b5fc1 (patch)
tree97bf8222082eeed33245185b048d806d8a223e48 /arch/powerpc
parent58a8ec4cc0475d24368c21ab70d0eff78da1aafd (diff)
downloadu-boot-4baf23e0beaca4ea90983c8f97e1bba0282b5fc1.tar.xz
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: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/ppc4xx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/ppc4xx.h b/arch/powerpc/include/asm/ppc4xx.h
index b8b0ff9..30e6559 100644
--- a/arch/powerpc/include/asm/ppc4xx.h
+++ b/arch/powerpc/include/asm/ppc4xx.h
@@ -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 */