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. 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: w...@denx.de Der Horizont vieler Menschen ist ein Kreis mit Radius Null -- und das nennen sie ihren Standpunkt. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot