summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-at91/clk.h
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2014-08-06 09:24:54 (GMT)
committerAndreas Bießmann <andreas.devel@googlemail.com>2014-09-18 22:11:18 (GMT)
commitb24c1a10b53e831b28da6a69911061a28b34bbd6 (patch)
tree3ef440387dc87dbe90ce842312d72ae16dcd7ccf /arch/arm/include/asm/arch-at91/clk.h
parent7b1dc26fae813fcf7650340803972feb8829853e (diff)
downloadu-boot-b24c1a10b53e831b28da6a69911061a28b34bbd6.tar.xz
ARM: atmel: use pcr to enable or disable peripheral clock
When use pcr (peripheral control register), then we won't need to care about the peripheral ID. Signed-off-by: Bo Shen <voice.shen@atmel.com> Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'arch/arm/include/asm/arch-at91/clk.h')
-rw-r--r--arch/arm/include/asm/arch-at91/clk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-at91/clk.h b/arch/arm/include/asm/arch-at91/clk.h
index ce9e28f..4076a78 100644
--- a/arch/arm/include/asm/arch-at91/clk.h
+++ b/arch/arm/include/asm/arch-at91/clk.h
@@ -80,4 +80,5 @@ static inline unsigned long get_mci_clk_rate(void)
int at91_clock_init(unsigned long main_clock);
void at91_periph_clk_enable(int id);
+void at91_periph_clk_disable(int id);
#endif /* __ASM_ARM_ARCH_CLK_H__ */