diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2020-03-30 11:27:29 +0200 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2020-04-20 14:19:10 +0200 |
commit | 269ac202ae9a186df87e0c3c0486002d414ee790 (patch) | |
tree | f35bd0a0044c90e61b89ad44467b946cdbd35c54 /configs/khadas-vim2_defconfig | |
parent | 7033dbfc726cf32e74884ad0391bd8a62bcbfea1 (diff) |
configs: khadas-vim2: 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/khadas-vim2_defconfig')
-rw-r--r-- | configs/khadas-vim2_defconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/khadas-vim2_defconfig b/configs/khadas-vim2_defconfig index 9cb377e55e..a533566410 100644 --- a/configs/khadas-vim2_defconfig +++ b/configs/khadas-vim2_defconfig @@ -20,6 +20,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 @@ -49,4 +50,10 @@ 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_OF_LIBFDT_OVERLAY=y |