[U-Boot] [PATCH] usb: f_mass_storage: set removable flag in do_inquiry based on LUN

Lukasz Majewski l.majewski at samsung.com
Mon Sep 22 18:00:55 CEST 2014


Hi Marek,

> On Saturday, September 20, 2014 at 02:06:46 AM, Eric Nelson wrote:
> > Without this flag, tools like Alex Page's USB Image Tool
> > won't see drives exposed over USB Gadget as removable,
> > and won't allow access to them.
> > 	http://www.alexpage.de/usb-image-tool/
> > 
> > The code was pulled from the main-line kernel:
> > 	drivers/usb/gadget/function/f_mass_storage.c
> > 
> > Signed-off-by: Eric Nelson <eric.nelson at boundarydevices.com>
> 
> I'm OK with this. This should go to current release too. Lukasz, do
> you agree ? Do you want to pick it + send me PR or shall I apply
> directly ?

Eric thanks for your patch.

Acked-by: Lukasz Majewski <l.majewski at samsung.com>

Tested-by: Lukasz Majewski <l.majewski at samsung.com>
Test HW (Trats - Exynos 4210)

I've applied this patch to u-boot-dfu branch.

I will send PR to Marek in a few days time.

> 
> Eric, please CC Lukasz on the gadget patches, he's the gadget guru.
> 
> Best regards,
> Marek Vasut



-- 
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group


More information about the U-Boot mailing list