[U-Boot] [PATCH] S5P: add set_mmc_clk for external clock control

Minkyu Kang promsoft at gmail.com
Wed May 18 09:08:22 CEST 2011


Dear Jaehoon Chung,

On 16 May 2011 17:42, Jaehoon Chung <jh80.chung at samsung.com> wrote:
> This patch added set_mmc_clk for external clock control.
>
> c210 didn't support host clock control.
> So We need external_clock_control function for c210.
>
> Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
> signed-off-by: Minkyu Kang <mk7.kang at samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> ---
>  arch/arm/cpu/armv7/s5pc1xx/clock.c      |    5 ++++
>  arch/arm/cpu/armv7/s5pc2xx/clock.c      |   32 +++++++++++++++++++++++++++++++
>  arch/arm/include/asm/arch-s5pc1xx/clk.h |    1 +
>  arch/arm/include/asm/arch-s5pc1xx/mmc.h |    1 +
>  arch/arm/include/asm/arch-s5pc2xx/clk.h |    1 +
>  arch/arm/include/asm/arch-s5pc2xx/mmc.h |    1 +
>  drivers/mmc/s5p_mmc.c                   |    3 ++
>  7 files changed, 44 insertions(+), 0 deletions(-)
>

Please fix compiler warning.

s5p_mmc.c: In function 'mmc_change_clock':
s5p_mmc.c:294: warning: implicit declaration of function 'set_mmc_clk'

Thanks
Minkyu Kang
-- 
from. prom.
www.promsoft.net


More information about the U-Boot mailing list