Added USB gadget configuration to enable fastboot functionality on
Qualcomm platforms. This configures the USB device with Google's
vendor ID and the standard fastboot product ID, which are required
for proper fastboot protocol operation.

Signed-off-by: Balaji Selvanathan <[email protected]>
---
 configs/qcom_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index e686ea857b9..1510dbdcfd3 100644
--- a/configs/qcom_defconfig
+++ b/configs/qcom_defconfig
@@ -150,6 +150,9 @@ CONFIG_USB_XHCI_DWC3=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC3_GENERIC=y
 CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_MANUFACTURER="fastboot"
+CONFIG_USB_GADGET_VENDOR_NUM=0x18d1
+CONFIG_USB_GADGET_PRODUCT_NUM=0xd00d
 CONFIG_UFS=y
 CONFIG_QCOM_UFS=y
 CONFIG_VIDEO=y
-- 
2.34.1

Reply via email to