summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-at91/clk.h
diff options
context:
space:
mode:
authorReinhard Meyer <u-boot@emk-elektronik.de>2010-08-13 10:31:06 +0200
committerReinhard Meyer <u-boot@emk-elektronik.de>2010-09-03 11:19:01 +0200
commit1592ef8596fffd937a30462eb15f1d64e237ae49 (patch)
treea4d26cb016750db74bb1585ccb23753632452c53 /arch/arm/include/asm/arch-at91/clk.h
parentc982d866eaee5e8469af9e22eb8f51c63adcfafa (diff)
AT91: MCI: add SD/MMC driver using mmc framework
Signed-off-by: Reinhard Meyer <u-boot@emk-elektronik.de>
Diffstat (limited to 'arch/arm/include/asm/arch-at91/clk.h')
-rw-r--r--arch/arm/include/asm/arch-at91/clk.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-at91/clk.h b/arch/arm/include/asm/arch-at91/clk.h
index f642dd9958..457e6c9b2b 100644
--- a/arch/arm/include/asm/arch-at91/clk.h
+++ b/arch/arm/include/asm/arch-at91/clk.h
@@ -59,5 +59,10 @@ static inline unsigned long get_twi_clk_rate(unsigned int dev_id)
return get_mck_clk_rate();
}
+static inline unsigned long get_mci_clk_rate(void)
+{
+ return get_mck_clk_rate();
+}
+
int at91_clock_init(unsigned long main_clock);
#endif /* __ASM_ARM_ARCH_CLK_H__ */