Dear Claudio Mignanti,

In message <aanlktikknw19u8yiqokqye-wxjuo4b8rwqo-ibpa1...@mail.gmail.com> you 
wrote:
> The function get_mci_clk_rate is used inside atmel_mci driver
>  but never defined. Fix this typo.

Well, it is certainly defined in
arch/avr32/include/asm/arch-at32ap700x/clk.h:

 74 #ifdef AT32AP700x_CHIP_HAS_MMCI
 75 static inline unsigned long get_mci_clk_rate(void)
 76 {
 77         return get_pbb_clk_rate();
 78 }
 79 #endif

> --- a/drivers/mmc/atmel_mci.c
> +++ b/drivers/mmc/atmel_mci.c
> @@ -67,7 +67,7 @@ static void mci_set_mode(unsigned long hz, unsigned
> long blklen)
>       unsigned long bus_hz;
>       unsigned long clkdiv;
> 
> -     bus_hz = get_mci_clk_rate();
> +     bus_hz = get_mck_clk_rate();

Are you sure this patch is working and does not break anything?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
Bus error -- driver executed.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to