summaryrefslogtreecommitdiffstats
path: root/configs/libretech-s905d-pc_defconfig
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2020-03-30 11:27:31 +0200
committerNeil Armstrong <narmstrong@baylibre.com>2020-04-20 14:19:10 +0200
commit572a8064af5c9150b642f61932f9968d8eaee7fd (patch)
tree48b628cf847978759faa0360dc68c6540c6df853 /configs/libretech-s905d-pc_defconfig
parent2a367d2745f9aeedb6fb5edade2829a7bb6a0dba (diff)
downloadu-boot-572a8064af5c9150b642f61932f9968d8eaee7fd.tar.gz
u-boot-572a8064af5c9150b642f61932f9968d8eaee7fd.tar.xz
u-boot-572a8064af5c9150b642f61932f9968d8eaee7fd.zip
configs: libretech-s905d-pc: Enable USB gadget with Mass Storage function
Enable configs to support USB gadget and Mass Storage Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'configs/libretech-s905d-pc_defconfig')
-rw-r--r--configs/libretech-s905d-pc_defconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/libretech-s905d-pc_defconfig b/configs/libretech-s905d-pc_defconfig
index 7e0c95872a..531d519a7c 100644
--- a/configs/libretech-s905d-pc_defconfig
+++ b/configs/libretech-s905d-pc_defconfig
@@ -26,6 +26,7 @@ CONFIG_CMD_SF=y
CONFIG_CMD_SF_TEST=y
CONFIG_CMD_SPI=y
CONFIG_CMD_USB=y
+CONFIG_CMD_USB_MASS_STORAGE=y
# CONFIG_CMD_SETEXPR is not set
CONFIG_CMD_REGULATOR=y
CONFIG_OF_CONTROL=y
@@ -65,6 +66,12 @@ CONFIG_USB_XHCI_HCD=y
CONFIG_USB_XHCI_DWC3=y
CONFIG_USB_XHCI_DWC3_OF_SIMPLE=y
CONFIG_USB_DWC3=y
+# CONFIG_USB_DWC3_GADGET is not set
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_VENDOR_NUM=0x1b8e
+CONFIG_USB_GADGET_PRODUCT_NUM=0xfada
+CONFIG_USB_GADGET_DWC2_OTG=y
+CONFIG_USB_GADGET_DOWNLOAD=y
CONFIG_USB_KEYBOARD=y
CONFIG_DM_VIDEO=y
CONFIG_SYS_WHITE_ON_BLACK=y