Commit 37cbd8918c83c9b160e79c3b79f3521cd8f73537
Committed by
Tom Rini
1 parent
e7ab6dfc65
Exists in
smarc_8mq_lf_v2020.04
and in
11 other branches
poplar_defconfig: enable fastboot support
It enables fastboot support on Poplar board by using DWC2 OTG gadget driver. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Showing 1 changed file with 11 additions and 0 deletions Side-by-side Diff
configs/poplar_defconfig
... | ... | @@ -11,11 +11,22 @@ |
11 | 11 | # CONFIG_ISO_PARTITION is not set |
12 | 12 | CONFIG_DEFAULT_DEVICE_TREE="hi3798cv200-poplar" |
13 | 13 | CONFIG_ENV_IS_IN_MMC=y |
14 | +CONFIG_USB_FUNCTION_FASTBOOT=y | |
15 | +CONFIG_FASTBOOT_BUF_ADDR=0x20000000 | |
16 | +CONFIG_FASTBOOT_BUF_SIZE=0x10000000 | |
17 | +CONFIG_FASTBOOT_FLASH=y | |
18 | +CONFIG_FASTBOOT_FLASH_MMC_DEV=0 | |
14 | 19 | CONFIG_MMC_DW=y |
15 | 20 | CONFIG_MMC_DW_K3=y |
16 | 21 | CONFIG_USB=y |
17 | 22 | CONFIG_USB_EHCI_HCD=y |
18 | 23 | CONFIG_USB_EHCI_GENERIC=y |
24 | +CONFIG_USB_GADGET=y | |
25 | +CONFIG_USB_GADGET_MANUFACTURER="HiSilicon" | |
26 | +CONFIG_USB_GADGET_VENDOR_NUM=0x18d1 | |
27 | +CONFIG_USB_GADGET_PRODUCT_NUM=0xd00d | |
28 | +CONFIG_USB_GADGET_DWC2_OTG=y | |
29 | +CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8=y | |
19 | 30 | CONFIG_USB_HOST_ETHER=y |
20 | 31 | CONFIG_USB_ETHER_ASIX=y |
21 | 32 | CONFIG_FAT_WRITE=y |