[U-Boot] [PATCH] mmc:dcache: Cache line size aligned internal MMC buffers

Scott Wood scottwood at freescale.com
Tue Aug 30 01:01:37 CEST 2011


On 08/29/2011 05:49 PM, Anton Staaf wrote:
>>>> How do you make the declaration static?
>>>
>>> you can't with this version of the macro.  Are there cases where you
>>> need the buffer to be static?
>>
>> I think you'd want it to be static more often than not.
> 
> If the buffer is allocated at file scope, then yes, we would want it
> to be static.  But not at function scope.  It would no longer be
> allocated on the stack in that case, and that was frowned upon
> earlier.

Ah, that's the issue.  I was trying to declare it at file scope. :-P

-Scott



More information about the U-Boot mailing list