]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
mach-snapdragon: enable DM_USB_GADGET by default
authorCaleb Connolly <caleb.connolly@linaro.org>
Mon, 24 Mar 2025 18:17:39 +0000 (19:17 +0100)
committerCaleb Connolly <caleb.connolly@linaro.org>
Thu, 10 Apr 2025 13:43:08 +0000 (15:43 +0200)
This is required for gadget modes to work on most platforms. It must be
disabled for dragonboard410c since that doesn't use dwc3. USB on other
MSM8916 platforms isn't supported by qcom_defconfig anyway.

Link: https://lore.kernel.org/r/20250324-sdm845-fixes-fastboot-v1-3-d177a10f336d@linaro.org
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
arch/arm/Kconfig
configs/dragonboard410c_defconfig

index b7311d3b754b63085c3297e036447815407cf1aa..6e234af4ac92d2cae3fae9a97491df7cfa3dcb6f 100644 (file)
@@ -1126,6 +1126,7 @@ config ARCH_SNAPDRAGON
        select SYSRESET_PSCI
        imply OF_UPSTREAM
        imply CMD_DM
+       imply DM_USB_GADGET
 
 config ARCH_SOCFPGA
        bool "Altera SOCFPGA family"
index 967817f4f58e901fc827b4ed991ddd61d1167efa..5870aae83b4fc8d6897eb0f18cc4eb153d299c11 100644 (file)
@@ -60,6 +60,7 @@ CONFIG_PMIC_QCOM=y
 CONFIG_MSM_SERIAL=y
 CONFIG_SPMI_MSM=y
 CONFIG_USB=y
+# CONFIG_DM_USB_GADGET is not set
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_MSM=y
 CONFIG_USB_ULPI_VIEWPORT=y