Wolfgang Denk schrieb:
> Dear "Reinhard Meyer (-VC)",
> 
> In message <4c5be642.4020...@emk-elektronik.de> you wrote:
>> Wolfgang Denk schrieb:
>>>     static unsigned char buffer[ENC_MAX_FRM_LEN] __attribute__ 
>>> ((aligned(4)));
>> Thanks, sometimes the very obvious is hidden behind a large wooden board :)
>>
>>> Or, probably even better, use malloc() to allocate the buffer.
>> For each received packet? Could do that, but its not worth it.
> 
> Not for each packet, only for the first one, of course, or when
> initializing the driver.

Whats the benefit except for probably increased code size?

The only one I see is 1.5k more free RAM as long as the
driver is not initialized/used...

Best Regards
Reinhard

<<attachment: reinhard_meyer.vcf>>

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to