Re: [U-Boot] [PATCH v3] usb: gadget: Fix data aborts during USB ethernet boot

2013-09-05 Thread Marek Vasut
Dear Joel Fernandes, > As seen on GCC 4.6 Linaro compiler, control_req buffer is not aligned > on 4 byte boundaray causing data aborts in eth_setup -> conf_buf > during dhcp boot over usb_ether. Fix the issue my aligning control_req > buffer using DEFINE_CACHE_ALIGN_BUFFER. > > Tested on am335x_e

Re: [U-Boot] [PATCH v3] usb: gadget: Fix data aborts during USB ethernet boot

2013-09-05 Thread Marek Vasut
Dear Bo Shen, > Hi Joel Fernandes, > > On 09/05/2013 07:55 AM, Joel Fernandes wrote: > > As seen on GCC 4.6 Linaro compiler, control_req buffer is not aligned > > on 4 byte boundaray causing data aborts in eth_setup -> conf_buf > > during dhcp boot over usb_ether. Fix the issue my aligning contro

Re: [U-Boot] [PATCH v3] usb: gadget: Fix data aborts during USB ethernet boot

2013-09-04 Thread Bo Shen
Hi Joel Fernandes, On 09/05/2013 07:55 AM, Joel Fernandes wrote: As seen on GCC 4.6 Linaro compiler, control_req buffer is not aligned on 4 byte boundaray causing data aborts in eth_setup -> conf_buf during dhcp boot over usb_ether. Fix the issue my aligning control_req buffer using DEFINE_CACHE

[U-Boot] [PATCH v3] usb: gadget: Fix data aborts during USB ethernet boot

2013-09-04 Thread Joel Fernandes
As seen on GCC 4.6 Linaro compiler, control_req buffer is not aligned on 4 byte boundaray causing data aborts in eth_setup -> conf_buf during dhcp boot over usb_ether. Fix the issue my aligning control_req buffer using DEFINE_CACHE_ALIGN_BUFFER. Tested on am335x_evm platform (beaglebone). Applies