[U-Boot] [PATCH] smsc95xx: align buffers to cache line size

Ilya Yanok ilya.yanok at cogentembedded.com
Sun Jul 8 21:35:21 CEST 2012


Dear Marek,

On Sun, Jul 8, 2012 at 10:59 PM, Marek Vasut <marek.vasut at gmail.com> wrote:

> btw. this will fail with cache line < 32 .
>

Hm.. I have to admit I'm not very much into USB specs and I don't have any
non-ARMv7 system now to do some testing...
But it used to work without any alignment, right? (with disabled dcache, of
course)
That makes me think that data buffers don't need any alignment (from USB
pov, not cache) and 32-byte alignment is required for internal structs only.

Regards, Ilya.


More information about the U-Boot mailing list