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

Aneesh V aneesh at ti.com
Wed May 18 05:49:49 CEST 2011


Hi Wolfgang,

On Wednesday 18 May 2011 03:24 AM, Wolfgang Denk wrote:
> Dear Aneesh V,
>
> In message<4DD2858E.2000703 at 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


More information about the U-Boot mailing list