summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoakim Axelsson <joakim.axelsson@stericsson.com>2010-12-03 12:43:52 +0800
committerMichael BRANDT <michael.brandt@stericsson.com>2010-12-08 16:19:36 +0100
commit0257e280fdf5861b8e9d625df517a938c2531a95 (patch)
tree7d7375b4b8dd2dd8e5205f783be96a61279a618b /include
parent568e790d63676b87c9e3be499e09dc3a390cbbfe (diff)
db8500: Move all clock code from board to SoC
Moved clock code from board/st/u8500/u8500.c to cpu/arm_cortexa9/db8500/clock.c. Remove code to simulate Maja clocks. ST-Ericsson ID: None Signed-off-by: Joakim Axelsson <joakim.axelsson@stericsson.com> Change-Id: Ibbb21d53091ceaddcc01e1a195e129039f986696 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/7114 Reviewed-by: QATOOLS Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com> Tested-by: Michael BRANDT <michael.brandt@stericsson.com>
Diffstat (limited to 'include')
-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 */