Dear Virupax SS, In message <ofd81a0f58.8612f8f9-on652575f6.002d2c08-652575f6.00309...@lntemsys.com> you wrote: > > You are correct if i use u-boot 1.3.0 with this 4.3.2 compiler, usb works > fine.
Good. Note that U-Boot 1.3.0 is very, very old, too. > we have done a lot of customization on u-boot 1.1.5 and it will take a lot > of time to do those changes to the new u-boot 1.3.0. "new u-boot 1.3.0" is an oxymoron. U-Boot 1.3.0 is nearly two years old. I hope you will now learn the lesson of what it gives to you to maintain an out-of-tree port. If you had pushed your changes upstream when 1.1.5 was current, you wouldn't have any problems now. I can only hope that you will do this after adapting your code to a recent code base (make sure to use top-of-tree from git for this). > can u please tell me what compiler related change is done in the new > u-boot releases so it works with the 4.3.2 GCC compiler.In which part of > the code it is done , is it in the makefile. It makes no sense to attempt to backport that stuff to such an ancient release. Please update your code. > When we used 4.3.2 gcc to compile the u-boot 1.1.5 , ethernet drivers were > not working and after making some of the variables volatile , ethernet > driver worked fine. We don't access registers through (volatile) pointers any more for this very reason - today we are using proper accessor functions that make sure compiler optimizations will do no harm. Just use current code. 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 Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away. - Antoine de Saint-Exupery _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot