summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-db8500/clock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/arch-db8500/clock.h')
-rw-r--r--include/asm-arm/arch-db8500/clock.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/asm-arm/arch-db8500/clock.h b/include/asm-arm/arch-db8500/clock.h
index b00ab0d21..b82dfb86d 100644
--- a/include/asm-arm/arch-db8500/clock.h
+++ b/include/asm-arm/arch-db8500/clock.h
@@ -62,11 +62,15 @@ struct prcmu {
unsigned int ape_softrst;
};
-extern void u8500_clock_enable(int periph, int kern, int cluster);
-
static inline void u8500_prcmu_enable(unsigned int *reg)
{
writel(readl(reg) | (1 << 8), reg);
}
+/* Enable all clocks u-boot needs in db8500 SoC platform */
+void db8500_clocks_init(void);
+
+/* Legacy function to allow drivers to enable their clock */
+void u8500_clock_enable(int periph, int cluster, int kern);
+
#endif /* __ASM_ARCH_CLOCK */