diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2018-12-18 17:52:07 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-01-14 17:43:18 -0500 |
commit | 37cbd8918c83c9b160e79c3b79f3521cd8f73537 (patch) | |
tree | 3f936a4b55cd7fdc54a1d1e720eb0be759c2ebd0 /configs/poplar_defconfig | |
parent | e7ab6dfc65f3656bf0df9e818dc12ad33be26d44 (diff) | |
download | u-boot-37cbd8918c83c9b160e79c3b79f3521cd8f73537.tar.gz |
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>
Diffstat (limited to 'configs/poplar_defconfig')
-rw-r--r-- | configs/poplar_defconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configs/poplar_defconfig b/configs/poplar_defconfig index 239783a592..ea0ea89220 100644 --- a/configs/poplar_defconfig +++ b/configs/poplar_defconfig @@ -11,11 +11,22 @@ CONFIG_CMD_USB=y # CONFIG_ISO_PARTITION is not set CONFIG_DEFAULT_DEVICE_TREE="hi3798cv200-poplar" CONFIG_ENV_IS_IN_MMC=y +CONFIG_USB_FUNCTION_FASTBOOT=y +CONFIG_FASTBOOT_BUF_ADDR=0x20000000 +CONFIG_FASTBOOT_BUF_SIZE=0x10000000 +CONFIG_FASTBOOT_FLASH=y +CONFIG_FASTBOOT_FLASH_MMC_DEV=0 CONFIG_MMC_DW=y CONFIG_MMC_DW_K3=y CONFIG_USB=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_GENERIC=y +CONFIG_USB_GADGET=y +CONFIG_USB_GADGET_MANUFACTURER="HiSilicon" +CONFIG_USB_GADGET_VENDOR_NUM=0x18d1 +CONFIG_USB_GADGET_PRODUCT_NUM=0xd00d +CONFIG_USB_GADGET_DWC2_OTG=y +CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8=y CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_ASIX=y CONFIG_FAT_WRITE=y |