summaryrefslogtreecommitdiff
path: root/configs/libretech-cc_defconfig
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2020-03-30 11:27:27 +0200
committerNeil Armstrong <narmstrong@baylibre.com>2020-04-20 14:19:10 +0200
commitaf71bdc03026cb07b2e7f8fba06d9da5f1e31bc6 (patch)
tree8531401ca531def1b54e8343543cd48467a75678 /configs/libretech-cc_defconfig
parenta19e8a0f036366d76bf5bc6c156bc270420b9663 (diff)
configs: libretech-cc: 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-cc_defconfig')
-rw-r--r--configs/libretech-cc_defconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/libretech-cc_defconfig b/configs/libretech-cc_defconfig
index 7c257b33b3..2c512ebc1e 100644
--- a/configs/libretech-cc_defconfig
+++ b/configs/libretech-cc_defconfig
@@ -19,6 +19,7 @@ CONFIG_CMD_GPIO=y
# CONFIG_CMD_LOADS is not set
CONFIG_CMD_MMC=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
@@ -51,6 +52,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_DM_VIDEO=y
# CONFIG_VIDEO_BPP8 is not set
# CONFIG_VIDEO_BPP16 is not set