
Dear Aneesh V,
In message 4DD2858E.2000703@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?
Also, please note that I had measured the time taken for the entire SDRAM initialization and it was not at all significant(IIRC, it was less than 1ms).
Thanks!
Best regards,
Wolfgang Denk