gadget: Select USB_GADGET_VENDOR_NUM for rockchip
[platform/kernel/u-boot.git] / drivers / usb / gadget / Kconfig
index c387f5e..844c3be 100644 (file)
@@ -39,6 +39,7 @@ if USB_GADGET
 config USB_GADGET_MANUFACTURER
        string "Vendor name of the USB device"
        default "Allwinner Technology" if ARCH_SUNXI
+       default "Rockchip" if ARCH_ROCKCHIP
        default "U-Boot"
        help
          Vendor name of the USB device emulated, reported to the host device.
@@ -47,6 +48,7 @@ config USB_GADGET_MANUFACTURER
 config USB_GADGET_VENDOR_NUM
        hex "Vendor ID of the USB device"
        default 0x1f3a if ARCH_SUNXI
+       default 0x2207 if ARCH_ROCKCHIP
        default 0x0
        help
          Vendor ID of the USB device emulated, reported to the host device.
@@ -127,12 +129,11 @@ config USB_GADGET_DOWNLOAD
 
 if USB_GADGET_DOWNLOAD
 
-config USB_FUNCTION_SDP
-       bool "Enable USB SDP (Serial Download Protocol)"
+config USB_FUNCTION_MASS_STORAGE
+       bool "Enable USB mass storage gadget"
        help
-         Enable Serial Download Protocol (SDP) device support in U-Boot. This
-         allows to download images into memory and execute (jump to) them
-         using the same protocol as implemented by the i.MX family's boot ROM.
+         Enable mass storage protocol support in U-Boot. It allows exporting
+         the eMMC/SD card content to HOST PC so it can be mounted.
 
 config USB_FUNCTION_ROCKUSB
         bool "Enable USB rockusb gadget"
@@ -142,10 +143,24 @@ config USB_FUNCTION_ROCKUSB
           the rockusb gadget.for more detail about Rockusb protocol, please see
           doc/README.rockusb
 
+config USB_FUNCTION_SDP
+       bool "Enable USB SDP (Serial Download Protocol)"
+       help
+         Enable Serial Download Protocol (SDP) device support in U-Boot. This
+         allows to download images into memory and execute (jump to) them
+         using the same protocol as implemented by the i.MX family's boot ROM.
+
+config USB_FUNCTION_THOR
+       bool "Enable USB THOR gadget"
+       help
+         Enable Tizen's THOR download protocol support in U-Boot. It
+         allows downloading images into memory and flash them to target device.
+
 endif # USB_GADGET_DOWNLOAD
 
 config USB_ETHER
        bool "USB Ethernet Gadget"
+       depends on NET
        default y if ARCH_SUNXI && USB_MUSB_GADGET
        help
          Creates an Ethernet network device through a USB peripheral