Re: [U-Boot] [PATCH] usb: align buffers at cache boundary

2012-02-17 Thread Mike Frysinger
On Friday 17 February 2012 05:50:21 Puneet Saxena wrote: > This aligns buffers,passed to usb controller at > dcache boundary. > > Buffer "stop" address = "start" address + size. > Stop address can not be aligned even though > "start" address is aligned as size does not fall > at cache line boundar

[U-Boot] [PATCH] usb: align buffers at cache boundary

2012-02-17 Thread Puneet Saxena
This aligns buffers,passed to usb controller at dcache boundary. Buffer "stop" address = "start" address + size. Stop address can not be aligned even though "start" address is aligned as size does not fall at cache line boundary. Therefore "debug" in place of "printf" is added in "arch/arm/cpu/arm