[U-Boot] [PATCH] usb: ci_udc: fix interaction with CONFIG_USB_ETH_CDC

Marek Vasut
2014-06-30T21:15:40Z

On Monday, June 30, 2014 at 10:55:37 PM, J?rg Krause wrote:
[...]
> >>> 2) You applied "allow multiple buffer allocs per ep"
> >>
> >> Setting #define CONFIG_SYS_CACHELINE_SIZE 32 to my config file helped
> >> here. But still timeouts. First run almost always runs fine, only
> >> sometimes timeouts while receiving a packet, but always running to the
> >> end. Running tftp after this a second time and more fails with a ERROR:
> >> The remote end did not respond in time. at
> >> drivers/usb/gadget/ether.c:2388/usb_eth_init(), but sometimes it works.
> >>
> >> Setting CONFIG_SYS_CACHELINE_SIZE 32 does not make it better (as I
> >> previously wrote it).
>
> Sorry, this is a typo. It should be CONFIG_SYS_CACHELINE_SIZE 16 (not 32).

MX28 has 32b-long cachelines. Setting this to 16 is nonsense.
[...]

Best regards,
Marek Vasut