[U-Boot] [PATCH v2 13/22] omap4: add clock support

Aneesh V aneesh at ti.com
Tue Jun 21 13:10:09 CEST 2011


On Tuesday 21 June 2011 03:52 PM, Wolfgang Denk wrote:
> Dear Aneesh V,
>
> In message<4E005F9E.8050003 at ti.com>  you wrote:
>>
>> In my function I am using 3 such arrays with quite a few entries in
>> them. Won't it look ugly besides increasing the stack footprint.
>
> I don;t see a significant difference whether you declare these arrays
> inside a function or with file scope.
>
> Regarding the stack footprint: this would actually even be preferrable
> (assuming this code is run after relocation to RAM), and from what

Indeed this runs before relocation. But I think I can keep the array
size to a reasonable level by splitting the function. Also, as you said
if the array is optimized out there should not be any problem.

best regards,
Aneesh


More information about the U-Boot mailing list