configs: mt8512: enable device mode of mtu3 explicitly
PATCH 1/1 configs: mt8512: enable device mode of mtu3 explicitly
Set CONFIG_USB_MTU3_GADGET=y to enable it explicitly, try to avoid build error:
"undefined reference to `dm_usb_gadget_handle_interrupts'"
--- configs/mt8512_bm1_emmc_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/mt8512_bm1_emmc_defconfig +1 -0
@@ -53,6 +53,7 @@ CONFIG_DM_USB=y CONFIG_DM_USB_GADGET=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_MTU3=y +CONFIG_USB_MTU3_GADGET=y # CONFIG_USB_MTU3_HOST is not set CONFIG_USB_STORAGE=y CONFIG_USB_GADGET=y
Signature · 1 line
2.18.0
PATCH 1/1 configs: mt8512: enable device mode of mtu3 explicitly
Quoted 6 lines · Chunfeng Yun
Set
CONFIG_USB_MTU3_GADGET=yto enable it explicitly, try to avoid build error:
"undefined reference to `dm_usb_gadget_handle_interrupts'"Fixes 311412ead0 ("configs: mt8512: enable fastboot and USB host related configs")
This should be "Fixes:" followed by 12 digit commit id
I can't find 311412ead0 in my tree
Quoted 11 lines
Signed-off-by Chunfeng Yun <[email protected]>--- configs/mt8512_bm1_emmc_defconfig | 1 + 1 file changed, 1 insertion(+)configs/mt8512_bm1_emmc_defconfig +0
-0
configs/mt8512_bm1_emmc_defconfig CONFIG_DM_USB=y · line 59
Quoted 7 lines
configs/mt8512_bm1_emmc_defconfig +1
-0@@ -53,6 +53,7 @@ CONFIG_DM_USB=y CONFIG_DM_USB_GADGET=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_MTU3=y +CONFIG_USB_MTU3_GADGET=y # CONFIG_USB_MTU3_HOST is not set CONFIG_USB_STORAGE=y CONFIG_USB_GADGET=y
Regards,
Bin
PATCH 1/1 configs: mt8512: enable device mode of mtu3 explicitly
Quoted 9 lines · Bin Meng
Quoted 6 lines · Chunfeng Yun
Set
CONFIG_USB_MTU3_GADGET=yto enable it explicitly, try to avoid build error:
"undefined reference to `dm_usb_gadget_handle_interrupts'"Fixes 311412ead0 ("configs: mt8512: enable fastboot and USB host related configs")This should be "Fixes:" followed by 12 digit commit id
Ok
Quoted 2 lines
I can't find
311412ead0in my tree
Sorry, I used my local change id, will use one got from u-boot-usb/next branch
Quoted 22 lines
Quoted 12 lines
Signed-off-by Chunfeng Yun <[email protected]>--- configs/mt8512_bm1_emmc_defconfig | 1 + 1 file changed, 1 insertion(+)configs/mt8512_bm1_emmc_defconfig +0
-0configs/mt8512_bm1_emmc_defconfig CONFIG_DM_USB=y · line 59
Quoted 7 lines
configs/mt8512_bm1_emmc_defconfig +1
-0@@ -53,6 +53,7 @@ CONFIG_DM_USB=y CONFIG_DM_USB_GADGET=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_MTU3=y +CONFIG_USB_MTU3_GADGET=y # CONFIG_USB_MTU3_HOST is not set CONFIG_USB_STORAGE=y CONFIG_USB_GADGET=yRegards,
Bin