[PATCH next v7 09/10] configs: mt8512: add USB host related configs

Bin Meng bmeng.cn at gmail.com
Tue Oct 13 16:34:38 CEST 2020


On Fri, Sep 18, 2020 at 5:12 PM Chunfeng Yun <chunfeng.yun at mediatek.com> wrote:
>
> Add USB, FAT commands, and fixed regulator, mass storage
> drivers.
> Due to device mode is enabled by default, comment out
> the host mode config here.

This patch should be squashed into patch [08/10]

>
> Signed-off-by: Chunfeng Yun <chunfeng.yun at mediatek.com>
> ---
> v5~v7: no changes
>
> v4: new patch
> ---
>  configs/mt8512_bm1_emmc_defconfig | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/configs/mt8512_bm1_emmc_defconfig b/configs/mt8512_bm1_emmc_defconfig
> index d41446f..6b5454c 100644
> --- a/configs/mt8512_bm1_emmc_defconfig
> +++ b/configs/mt8512_bm1_emmc_defconfig
> @@ -15,6 +15,10 @@ CONFIG_DEFAULT_FDT_FILE="mt8512-bm1-emmc.dtb"
>  CONFIG_SYS_PROMPT="MT8512> "
>  CONFIG_CMD_BOOTMENU=y
>  CONFIG_CMD_MMC=y
> +CONFIG_CMD_USB=y
> +CONFIG_CMD_FAT=y
> +CONFIG_CMD_FS_GENERIC=y
> +# CONFIG_DOS_PARTITION is not set
>  CONFIG_ENV_OVERWRITE=y
>  CONFIG_REGMAP=y
>  CONFIG_SYSCON=y
> @@ -36,6 +40,7 @@ CONFIG_FASTBOOT_MMC_BOOT1_SUPPORT=y
>  CONFIG_PHY=y
>  CONFIG_PHY_MTK_TPHY=y
>  CONFIG_DM_REGULATOR=y
> +CONFIG_DM_REGULATOR_FIXED=y
>  CONFIG_DM_SERIAL=y
>  CONFIG_MTK_SERIAL=y
>  CONFIG_TIMER=y
> @@ -48,6 +53,8 @@ CONFIG_DM_USB=y
>  CONFIG_DM_USB_GADGET=y
>  CONFIG_USB_MTU3=y
>  CONFIG_USB_MTU3_GADGET=y
> +#CONFIG_USB_MTU3_HOST=y

This should be :

# CONFIG_USB_MTU3_HOST is not set

> +CONFIG_USB_STORAGE=y
>  CONFIG_USB_GADGET=y
>  CONFIG_USB_GADGET_MANUFACTURER="MediaTek"
>  CONFIG_USB_GADGET_VENDOR_NUM=0x0e8d
> --

Regards,
Bin


More information about the U-Boot mailing list