Re: [U-Boot] [PATCH v3 1/3] usb: gadget: move USB_FUNCTION_MASS_STORAGE to Kconfig

2017-07-28 Thread Łukasz Majewski

Hi Philipp,


In order to easily model a that CMD_USB_MASS_STORAGE implies having
USB_FUNCTION_MASS_STORAGE enabled, we first need to migrate
USB_FUNCTION_MASS_STORAGE to Kconfig.



Thanks for the conversion!


Signed-off-by: Philipp Tomsich 



Acked-by: Łukasz Majewski 


---

Changes in v3: None
Changes in v2:
- ran 'tabify' on newly added lines to fix a spaces vs. tabs issues

 drivers/usb/gadget/Kconfig | 9 +
 1 file changed, 9 insertions(+)

diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 261ed12..8d1cd57 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -34,6 +34,15 @@ menuconfig USB_GADGET
   peripheral/device side bus controller, and a "gadget driver" for
   your peripheral protocol.

+config USB_FUNCTION_MASS_STORAGE
+   bool "USB mass-storage class implementation"
+   help
+ The Mass Storage Function acts as a USB Mass Storage device
+ appearing to the host as a disk drive or as a CD-ROM drive.
+
+ This is required (and implied) by the USB mass-storage emulation
+ command ('ums').
+
 if USB_GADGET

 config USB_GADGET_ATMEL_USBA




--
Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,  Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH v3 1/3] usb: gadget: move USB_FUNCTION_MASS_STORAGE to Kconfig

2017-07-26 Thread Tom Rini
On Wed, Jul 26, 2017 at 01:22:57PM +0200, Philipp Tomsich wrote:

> In order to easily model a that CMD_USB_MASS_STORAGE implies having
> USB_FUNCTION_MASS_STORAGE enabled, we first need to migrate
> USB_FUNCTION_MASS_STORAGE to Kconfig.
> 
> Signed-off-by: Philipp Tomsich 
> 

Reviewed-by: Tom Rini 

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH v3 1/3] usb: gadget: move USB_FUNCTION_MASS_STORAGE to Kconfig

2017-07-26 Thread Philipp Tomsich
In order to easily model a that CMD_USB_MASS_STORAGE implies having
USB_FUNCTION_MASS_STORAGE enabled, we first need to migrate
USB_FUNCTION_MASS_STORAGE to Kconfig.

Signed-off-by: Philipp Tomsich 

---

Changes in v3: None
Changes in v2:
- ran 'tabify' on newly added lines to fix a spaces vs. tabs issues

 drivers/usb/gadget/Kconfig | 9 +
 1 file changed, 9 insertions(+)

diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 261ed12..8d1cd57 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -34,6 +34,15 @@ menuconfig USB_GADGET
   peripheral/device side bus controller, and a "gadget driver" for
   your peripheral protocol.
 
+config USB_FUNCTION_MASS_STORAGE
+   bool "USB mass-storage class implementation"
+   help
+ The Mass Storage Function acts as a USB Mass Storage device
+ appearing to the host as a disk drive or as a CD-ROM drive.
+
+ This is required (and implied) by the USB mass-storage emulation
+ command ('ums').
+
 if USB_GADGET
 
 config USB_GADGET_ATMEL_USBA
-- 
2.1.4

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot