From: mingming lee Date: Thu, 16 Jan 2020 08:11:40 +0000 (+0800) Subject: configs: mt8518: enable usb gadget driver X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=d33be188338d43d3e802e48fa56d106e9600d971;p=u-boot.git configs: mt8518: enable usb gadget driver Enable board_late_init and usb gadget for mt8518 Signed-off-by: mingming lee --- diff --git a/configs/mt8518_ap1_emmc_defconfig b/configs/mt8518_ap1_emmc_defconfig index 586b825bd3..95691199f3 100644 --- a/configs/mt8518_ap1_emmc_defconfig +++ b/configs/mt8518_ap1_emmc_defconfig @@ -9,6 +9,7 @@ CONFIG_NR_DRAM_BANKS=1 CONFIG_FIT=y CONFIG_FIT_SIGNATURE=y CONFIG_DEFAULT_FDT_FILE="mt8518-ap1-emmc.dtb" +CONFIG_BOARD_LATE_INIT=y CONFIG_SYS_PROMPT="MT8518> " CONFIG_CMD_BOOTMENU=y CONFIG_CMD_MMC=y @@ -27,6 +28,15 @@ CONFIG_DM_SERIAL=y CONFIG_MTK_SERIAL=y CONFIG_TIMER=y CONFIG_MTK_TIMER=y +CONFIG_USB=y +CONFIG_DM_USB=y +CONFIG_USB_MUSB_GADGET=y +CONFIG_USB_MUSB_MT85XX=y +CONFIG_USB_GADGET=y +CONFIG_USB_GADGET_MANUFACTURER="Mediatek." +CONFIG_USB_GADGET_VENDOR_NUM=0x0bb4 +CONFIG_USB_GADGET_PRODUCT_NUM=0x0c01 +CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_WDT=y CONFIG_WDT_MTK=y CONFIG_LZ4=y