Skip to contentSkip to conversation

configs: mt8512: enable device mode of mtu3 explicitly

PATCH New Chunfeng Yun 2 participants 3 messages Oct 14, 2020 Arm MediaTek

lore
Share & tools
lore
#0 lore raw

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'"

Fixes 311412ead0 ("configs: mt8512: enable fastboot and USB host related configs")
---
 configs/mt8512_bm1_emmc_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/mt8512_bm1_emmc_defconfig +1 -0
index aaf59f52a8..c25a42cd3d 100644
@@ -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
#1 lore raw

PATCH 1/1 configs: mt8512: enable device mode of mtu3 explicitly

Quoted 6 lines · Chunfeng Yun

Set CONFIG_USB_MTU3_GADGET=y to 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
---
 configs/mt8512_bm1_emmc_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/mt8512_bm1_emmc_defconfig +0 -0
index aaf59f52a8..c25a42cd3d 100644

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

#2 lore raw

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=y to 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 311412ead0 in 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
---
 configs/mt8512_bm1_emmc_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/mt8512_bm1_emmc_defconfig +0 -0
index aaf59f52a8..c25a42cd3d 100644

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