From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Mon, 10 Aug 2015 07:14:10 +0200 Subject: [U-Boot] [PATCH 0/3] add dfu support for at91 sam9260 based boards In-Reply-To: <201507210403.29493.marex@denx.de> References: <1434372182-8967-1-git-send-email-hs@denx.de> <20150720160308.68a9af31@amdc2363> <201507210403.29493.marex@denx.de> Message-ID: <55C83322.3030403@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 Hello Marek, Am 21.07.2015 um 04:03 schrieb Marek Vasut: > On Monday, July 20, 2015 at 04:03:08 PM, Lukasz Majewski wrote: >> Hi Marek, >> >>> add dfu supprt for at91 sam9260 based boards. The USB >>> gadget driver is ported from linux: >>> >>> b2ba27a5c56ff: usb: gadget: at91_udc: move prepare clk into process >>> context >>> >>> it drops a lot of checkpatch warnings/errors: >>> >>> checkpatch.pl found 12 error(s), 31 warning(s), 43 checks(s) >>> >>> but for further updates I did not fix them. >>> The errors are all from this sort: >>> >>> error: drivers/usb/gadget/at91_udc.c,87: space prohibited before open >>> square bracket '[' >>> >>> a lot of "line over 80 characters" warnings ... >>> >>> Heiko Schocher (3): >>> ARM: at91: add cpu.h >>> usb: gadget: at91_udc: add support for at91_udc >>> at91, taurus, smartweb: add dfu support >> >> Marek, do you plan to review this patch series? >> >> (I would need at least one review before I pull the code). > > I took a brief look. One thing I don't quite like is the omnipresent #ifdef > __UBOOT__ stuff. I'd much rather love to see some kind of a porting layer > so the driver can just be picked from linux as-is, but that might be too much > hassle. Yes, such a layer would be beautiful, but it is possible? We have no processes/task switching in U-Boot ... a lot of board do not use irqs ... > Otherwise, I'm fine with it, though I nitpicked a bit. I just prepare a v2 ... bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany