[U-Boot] [PATCH v2 16/22] omap4: calculate EMIF register values

Wolfgang Denk
2011-05-17T21:54:25Z

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

--
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: wd at denx.de
Mr. Cole's Axiom:
The sum of the intelligence on the planet is a constant;
the population is growing.