From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Tue, 1 Jul 2014 01:55:08 +0200 Subject: [U-Boot] [PATCH] usb: ci_udc: Allocate the qTD list directly In-Reply-To: <1404172398-6522-1-git-send-email-marex@denx.de> References: <1404172398-6522-1-git-send-email-marex@denx.de> Message-ID: <201407010155.08833.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: J?rg Krause > Cc: Stephen Warren Ah yes, this will complain about unused *imem , I will fix it when applying if this is the right patch. Best regards, Marek Vasut