summaryrefslogtreecommitdiff
path: root/include/asm-avr32/arch-at32ap7000/clk.h
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2006-12-17 18:55:37 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-04-14 16:14:06 +0200
commit05fdab1ef6a10d049a50021a86f1226f444d9b9f (patch)
tree6856cbb2e3b65106b6f892be2012bc00c981ae56 /include/asm-avr32/arch-at32ap7000/clk.h
parent7fac3f69e9f05c5e5326681976c35d129324c4de (diff)
downloadu-boot-imx-05fdab1ef6a10d049a50021a86f1226f444d9b9f.zip
u-boot-imx-05fdab1ef6a10d049a50021a86f1226f444d9b9f.tar.gz
u-boot-imx-05fdab1ef6a10d049a50021a86f1226f444d9b9f.tar.bz2
AVR32: Add clk and gpio infrastructure for mmci
Implement functions for configuring the mmci pins, as well as functions for getting the clock rate of the mmci controller. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'include/asm-avr32/arch-at32ap7000/clk.h')
-rw-r--r--include/asm-avr32/arch-at32ap7000/clk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-avr32/arch-at32ap7000/clk.h b/include/asm-avr32/arch-at32ap7000/clk.h
index 1ca5b48..7e20d97 100644
--- a/include/asm-avr32/arch-at32ap7000/clk.h
+++ b/include/asm-avr32/arch-at32ap7000/clk.h
@@ -62,5 +62,9 @@ static inline unsigned long get_macb_hclk_rate(unsigned int dev_id)
{
return get_hsb_clk_rate();
}
+static inline unsigned long get_mci_clk_rate(void)
+{
+ return get_pbb_clk_rate();
+}
#endif /* __ASM_AVR32_ARCH_CLK_H__ */