commit | 00b7839bffc8b78119f28ef7f587cd344da36aec | [log] [tgz] |
---|---|---|
author | Joel Fernandes <joelf@ti.com> | Wed Sep 04 18:55:14 2013 -0500 |
committer | Marek Vasut <marex@denx.de> | Tue Sep 24 17:51:34 2013 +0200 |
tree | bd0f78f8da8dae91fd19633978faa9421b4928f0 | |
parent | 6e19490aafe9869219872bc38ef93921dca4cf48 [diff] |
usb: gadget: Fix data aborts during USB ethernet boot 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 on 2013.10-rc1 branch. Cc: Tom Rini <trini@ti.com> Cc: Marek Vasut <marex@denx.de> Signed-off-by: Joel Fernandes <joelf@ti.com>