[U-Boot] [PATCH] mmc: it's safe to ignore mmc_send_if_cond() return value

Ilya Yanok yanok at emcraft.com
Fri May 15 23:15:40 CEST 2009


Hi Alfred,

alfred steele wrote:
>> Just make sure that you have all needed clocks enabled.
>>     
> Thanks!One thing i forgot mentioning is that when i had adopted your
> patch on my baseline code, i started getting the infamous 'u64 ' (64
> bit) division LINK errors while compiling with EABI rooting out of the
> clock based calculations.(prescalar and divider etc.) Hence i googled
> out and found out  two patches that  fix-arm920t-eabi.patch
> uboot-eabi-fix-HACK.patch I applied these patches hand edited some
> files to fix the compilation problem. I know you had some latest
> patches to use lldiv() instead but how did you get rid of  the compile
> issues without lldiv  initially. Are you compiling without EABI?
>   

You really should use lldiv() for 64-bit division. I had the same
compile issues.

Regards, Ilya.



More information about the U-Boot mailing list