usb: gadget: fastboot: Set the Serial Number for Fastboot Gadget
authorDileep Katta <dileep.katta@linaro.org>
Fri, 13 Feb 2015 06:33:43 +0000 (14:33 +0800)
committerMarek Vasut <marex@denx.de>
Wed, 25 Feb 2015 16:47:02 +0000 (17:47 +0100)
commit537cd072da9c350d6709785c85f83cae2ad53493
tree142694102e02b9987e02efbdadb91223015eb101
parente874207134e9d2d5958636f7f32b60e5441ab320
usb: gadget: fastboot: Set the Serial Number for Fastboot Gadget

Configure the serial number using the serial# environment variable
during the fastboot bind.

This enables "fastboot devices" to return the serial number for
the attached devices.

Signed-off-by: Dileep Katta <dileep.katta@linaro.org>
Acked-by: Steve Rae <srae@broadcom.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
drivers/usb/gadget/f_fastboot.c