Hi Wolfgang, On Wednesday 18 May 2011 03:24 AM, Wolfgang Denk wrote: > Dear Aneesh V, > > In message<4dd2858e.2000...@ti.com> you wrote: >> >> I had the same concerns too. So, I have provided a CONFIG option - >> CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS - by which the user can >> provide the register values, so no computation will be done. > > Ah, great. Sorry, I have missed this. > >> So, if somebody is concerned about the performance they can just >> compute the values using this driver and print them out by enabling the >> debug traces, fill it up in the structs provided for it and enable >> CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS. That should work. > > Will this also comment out the respective code, so we don't waste the > memory for it?
In SPL yes, because I am using -ffunction-sections -fdata-sections along with --gc-sections, but not in U-Boot. I shall take care of this in the next revision. BTW, I was thinking that I should enable -ffunction-sections -fdata-sections in OMAP U-Boot too. What do you think? best regards, Aneesh _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot