[U-Boot] [PATCH] usb: ci_udc: Allocate the qTD list directly

Marek Vasut marex at denx.de
Tue Jul 1 01:55:08 CEST 2014


On Tuesday, July 01, 2014 at 01:53:18 AM, Marek Vasut wrote:
> Instead of weird allocation of ci_drv->items_mem and then even weirder
> distribution of offsets in this memory area into ci_drv->items array,
> just allocate ci_drv->items as a big slab of aligned memory (replaces
> ci_drv->items_mem) and let ci_get_qtd() do the distribution of offsets
> in this memory area.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Jörg Krause <jkrause at posteo.de>
> Cc: Stephen Warren <swarren at wwwdotorg.org>

Ah yes, this will complain about unused *imem , I will fix it when applying if 
this is the right patch.

Best regards,
Marek Vasut


More information about the U-Boot mailing list