
Hi Wolfgang,
On Wednesday 08 August 2007, Dirk Behme wrote:
No, that's not a MontaVista specific issue. I have an other toolchain and it has similiar issues. Nor is it an ARM specific issue.
nand_utils.c uses 64bit division, and if you use stuff from nand_utils.c you may get these issues. So solution is to make U-Boot independent from toolchain for 64bit division used in nand_utils.c as already done with other math helpers in lib_arm.
Please apply
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/30484 http://article.gmane.org/gmane.comp.boot-loaders.u-boot/30476
as well.
Acked-by: Stefan Roese sr@denx.de
to both patches mentioned above.
Wolfgang, could you please pick those up and apply directly? It's hard for me to apply the nand patch only because it needs the do_div() first.
Thanks.
Best regards, Stefan
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de =====================================================================