[U-Boot] [PATCH v3 4/5] usb/gadget: add the fastboot gadget

Tom Rini trini at ti.com
Fri Apr 11 16:46:35 CEST 2014


On Thu, Apr 10, 2014 at 02:18:06PM -0500, Rob Herring wrote:

> From: Sebastian Siewior <bigeasy at linutronix.de>
> 
> This patch contains an implementation of the fastboot protocol on the
> device side and a little of documentation.
> The gadget expects the new-style gadget framework.
> The gadget implements the getvar, reboot, download and reboot commands.
> What is missing is the flash handling i.e. writting the image to media.
> 
> v3 (Rob Herring):
> This is based on http://patchwork.ozlabs.org/patch/126798/ with the
> following changes:
> - Rebase to current mainline and updates for current gadget API
> - Use SPDX identifiers for licenses
> - Traced the history and added missing copyright to cmd_fastboot.c
> - Use load_addr/load_size for transfer buffer
> - Allow vendor strings to be optional
> - Set vendor/product ID from config defines
> - Allow Ctrl-C to exit fastboot mode
> 
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
> Signed-off-by: Rob Herring <robh at kernel.org>

I suspect Lukasz or Marek will have more in depth comments next week,
but please use puts rather than printf when we don't have format chars
in the string.  Things look generally speaking reasonable however.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140411/3d3ad02f/attachment.pgp>


More information about the U-Boot mailing list