]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
A20-OLinuXino-Lime2: Enable USB gadget support
authorTom Rini <trini@konsulko.com>
Mon, 19 Sep 2016 14:03:32 +0000 (10:03 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 19 Sep 2016 15:37:06 +0000 (11:37 -0400)
Based on A13-OLinuXino, enable DFU and UMS support.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
configs/A20-OLinuXino-Lime2_defconfig

index 23db073806243d7ec90e9e64d3f3aa1104bc96bd..54343de7f3513e3596e3a61a2018f32d2914fb5f 100644 (file)
@@ -12,9 +12,17 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPC(3)"
 CONFIG_SPL=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
+CONFIG_CMD_DFU=y
+CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_CMD_FPGA is not set
 CONFIG_RTL8211X_PHY_FORCE_MASTER=y
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_AXP_ALDO3_VOLT=2800
 CONFIG_AXP_ALDO4_VOLT=2800
 CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_MUSB_GADGET=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_DOWNLOAD=y
+CONFIG_G_DNL_MANUFACTURER="Allwinner Technology"
+CONFIG_G_DNL_VENDOR_NUM=0x1f3a
+CONFIG_G_DNL_PRODUCT_NUM=0x1010