Re: [U-Boot] [u-boot 15/40] usb: dwc3: gadget: make dwc3 gadget build in uboot

2015-02-16 Thread Lukasz Majewski
Hi Kishon, > Did a bunch of things to get dwc3/gadget.c compile in u-boot without > build errors and warnings > *) Changed the included header files to that used in u-boot. > *) Used dma_alloc_coherent and dma_free_coherent APIs of u-boot > *) removed sg support > *) remove jiffies and used a simp

[U-Boot] [u-boot 15/40] usb: dwc3: gadget: make dwc3 gadget build in uboot

2015-02-06 Thread Kishon Vijay Abraham I
Did a bunch of things to get dwc3/gadget.c compile in u-boot without build errors and warnings *) Changed the included header files to that used in u-boot. *) Used dma_alloc_coherent and dma_free_coherent APIs of u-boot *) removed sg support *) remove jiffies and used a simple while loop *) removed