]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
usb: isp1760: Correct dependencies for USB_ISP1760
authorTom Rini <trini@konsulko.com>
Tue, 17 Mar 2026 01:24:16 +0000 (19:24 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 30 Mar 2026 22:59:35 +0000 (16:59 -0600)
As exposed by "make randconfig", we have an issue with the dependencies
for USB_ISP1760. It depends on DM && OF_CONTROL being set and
functionally requires REGMAP. As part of fixing that issue, we change
"tristate" to "bool" and remove mentions of module support as that's not
a thing in U-Boot.

Reviewed-by: Marek Vasut <marek.vasut+usb@mailbox.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/usb/isp1760/Kconfig

index 993d71e74cd26c07a7ecf9504afd179b34325776..d1c5a687d9e735dbacc97ff75e87e09bc32dbb5d 100644 (file)
@@ -1,11 +1,13 @@
 # SPDX-License-Identifier: GPL-2.0
 
 config USB_ISP1760
-       tristate "NXP ISP 1760/1761/1763 support"
+       bool "NXP ISP 1760/1761/1763 support"
+       depends on DM && OF_CONTROL
        select DM_USB
+       select REGMAP
        select USB_HOST
        help
-         Say Y or M here if your system as an ISP1760/1761/1763 USB host
+         Say Y here if your system as an ISP1760/1761/1763 USB host
          controller.
 
          This USB controller is usually attached to a non-DMA-Master