From: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> Acked-by: Juergen Beisert <jbe@xxxxxxxxxxxxxx> --- arch/arm/mach-imx/include/mach/clock.h | 1 + arch/arm/mach-imx/speed-imx27.c | 5 +++++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-imx/include/mach/clock.h b/arch/arm/mach-imx/include/mach/clock.h index 76ab4a5..bbe7a60 100644 --- a/arch/arm/mach-imx/include/mach/clock.h +++ b/arch/arm/mach-imx/include/mach/clock.h @@ -28,6 +28,7 @@ ulong imx_get_gptclk(void); ulong imx_get_uartclk(void); ulong imx_get_lcdclk(void); ulong imx_get_i2cclk(void); +ulong imx_get_mmcclk(void); int imx_clko_set_div(int div); void imx_clko_set_src(int src); diff --git a/arch/arm/mach-imx/speed-imx27.c b/arch/arm/mach-imx/speed-imx27.c index cdcd419..0a92d29 100644 --- a/arch/arm/mach-imx/speed-imx27.c +++ b/arch/arm/mach-imx/speed-imx27.c @@ -159,6 +159,11 @@ ulong imx_get_i2cclk(void) return imx_get_ipgclk(); } +ulong imx_get_mmcclk(void) +{ + return imx_get_perclk2(); +} + void imx_dump_clocks(void) { uint32_t cid = CID; -- 1.7.2.3 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox