diff options
| author | Maxime Ripard <[email protected]> | 2017-09-12 19:41:15 +0200 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2017-10-03 19:12:05 +0200 |
| commit | e02687bda96cc8ed942e14b558796d3043d24b23 (patch) | |
| tree | 4718cb12ba9ede47659044b65d97fdd2387ebf14 /drivers | |
| parent | 10ac57fda3ff46a20af7ded6cc03d78e88032495 (diff) | |
sunxi: provide default USB gadget setup
All the Allwinner boards use the same manufacturer, VID and PID for the
gadgets. Make them the defaults to remove some boilerplate from our
defconfigs.
Reviewed-by: Ćukasz Majewski <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/usb/gadget/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index dfeeb5725af..78faac74e99 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -38,6 +38,7 @@ if USB_GADGET config USB_GADGET_MANUFACTURER string "Vendor name of the USB device" + default "Allwinner Technology" if ARCH_SUNXI default "U-Boot" help Vendor name of the USB device emulated, reported to the host device. @@ -45,6 +46,7 @@ config USB_GADGET_MANUFACTURER config USB_GADGET_VENDOR_NUM hex "Vendor ID of the USB device" + default 0x1f3a if ARCH_SUNXI default 0x0 help Vendor ID of the USB device emulated, reported to the host device. @@ -53,6 +55,7 @@ config USB_GADGET_VENDOR_NUM config USB_GADGET_PRODUCT_NUM hex "Product ID of the USB device" + default 0x1010 if ARCH_SUNXI default 0x0 help Product ID of the USB device emulated, reported to the host device. |
