]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Kconfig: usb: restyle
authorJohan Jonker <jbx6244@gmail.com>
Wed, 10 Jun 2026 14:40:27 +0000 (16:40 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 25 Jun 2026 20:58:13 +0000 (14:58 -0600)
Restyle all Kconfigs for "usb":
Menu entries   : no space left
Menu attributes: 1 TAB
Help text      : 1 TAB + 2 spaces
Replace '---help---' by 'help'

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
drivers/usb/Kconfig
drivers/usb/eth/Kconfig
drivers/usb/gadget/Kconfig
drivers/usb/host/Kconfig
drivers/usb/musb-new/Kconfig

index 93c5ee69b25304a9652ee9ac1b26cc34d25ec60b..05ac388ecf2b1bef2b8b7db3201d743edd63f8a8 100644 (file)
@@ -1,7 +1,7 @@
 menuconfig USB
        bool "USB support"
        select BLK
-       ---help---
+       help
          Universal Serial Bus (USB) is a specification for a serial bus
          subsystem which offers higher speeds and more features than the
          traditional PC serial port.  The bus supplies power to peripherals
@@ -94,7 +94,7 @@ comment "USB peripherals"
 
 config USB_STORAGE
        bool "USB Mass Storage support"
-       ---help---
+       help
          Say Y here if you want to connect USB mass storage devices to your
          board's USB port.
 
@@ -103,7 +103,7 @@ config USB_KEYBOARD
        depends on DM_USB
        select DM_KEYBOARD
        select SYS_STDIO_DEREGISTER
-       ---help---
+       help
          Say Y here if you want to use a USB keyboard for U-Boot command line
          input.
 
@@ -111,7 +111,7 @@ config USB_ONBOARD_HUB
        bool "Onboard USB hub support"
        depends on DM_USB
        select DEVRES
-       ---help---
+       help
          Say Y here if you want to support discrete onboard USB hubs that
          don't require an additional control bus for initialization, but
          need some non-trivial form of initialization, such as enabling a
@@ -163,17 +163,17 @@ choice
        prompt "USB keyboard polling"
        default SYS_USB_EVENT_POLL_VIA_INT_QUEUE if ARCH_SUNXI
        default SYS_USB_EVENT_POLL
-       ---help---
+       help
          Enable a polling mechanism for USB keyboard.
 
 config SYS_USB_EVENT_POLL
-    bool "Interrupt polling"
+       bool "Interrupt polling"
 
 config SYS_USB_EVENT_POLL_VIA_INT_QUEUE
-    bool "Poll via interrupt queue"
+       bool "Poll via interrupt queue"
 
 config SYS_USB_EVENT_POLL_VIA_CONTROL_EP
-    bool "Poll via control EP"
+       bool "Poll via control EP"
 
 endchoice
 
index 2f6bfa8e71b80a0f79df3820d77bb956a9453d85..b9b77f4674376ecbe956dd0139ee703a4b9dc54f 100644 (file)
@@ -1,6 +1,6 @@
 menuconfig USB_HOST_ETHER
        bool "USB to Ethernet Controller Drivers"
-       ---help---
+       help
          Say Y here if you would like to enable support for USB Ethernet
          adapters.
 
@@ -9,14 +9,14 @@ if USB_HOST_ETHER
 config USB_ETHER_ASIX
        bool "ASIX AX8817X (USB 2.0) support"
        depends on USB_HOST_ETHER
-       ---help---
+       help
          Say Y here if you would like to support ASIX AX8817X based USB 2.0
          Ethernet Devices.
 
 config USB_ETHER_ASIX88179
        bool "ASIX AX88179 (USB 3.0) support"
        depends on USB_HOST_ETHER
-       ---help---
+       help
          Say Y here if you would like to support ASIX AX88179 based USB 3.0
          Ethernet Devices.
 
@@ -24,7 +24,7 @@ config USB_ETHER_LAN75XX
        bool "Microchip LAN75XX support"
        depends on USB_HOST_ETHER
        depends on PHYLIB
-       ---help---
+       help
          Say Y here if you would like to support Microchip LAN75XX Hi-Speed
          USB 2.0 to 10/100/1000 Gigabit Ethernet controller.
          Supports 10Base-T/ 100Base-TX/1000Base-T.
@@ -34,7 +34,7 @@ config USB_ETHER_LAN78XX
        bool "Microchip LAN78XX support"
        depends on USB_HOST_ETHER
        depends on PHYLIB
-       ---help---
+       help
          Say Y here if you would like to support Microchip LAN78XX USB 3.1
          Gen 1 to 10/100/1000 Gigabit Ethernet controller.
          Supports 10Base-T/ 100Base-TX/1000Base-T.
@@ -43,14 +43,14 @@ config USB_ETHER_LAN78XX
 config USB_ETHER_MCS7830
        bool "MOSCHIP MCS7830 (7730/7830/7832) suppport"
        depends on USB_HOST_ETHER
-       ---help---
+       help
          Say Y here if you would like to support MOSCHIP MCS7830 based
          (7730/7830/7832) USB 2.0 Ethernet Devices.
 
 config USB_ETHER_RTL8152
        bool "Realtek RTL8152B/RTL8153 support"
        depends on USB_HOST_ETHER
-       ---help---
+       help
          Say Y here if you would like to support Realtek RTL8152B/RTL8153 base
          USB Ethernet Devices. This driver also supports compatible devices
          from Samsung, Lenovo, TP-LINK and Nvidia.
@@ -58,7 +58,7 @@ config USB_ETHER_RTL8152
 config USB_ETHER_SMSC95XX
        bool "SMSC LAN95x support"
        depends on USB_HOST_ETHER
-       ---help---
+       help
          Say Y here if you would like to support SMSC LAN95xx based USB 2.0
          Ethernet Devices.
 
index 5390878254ac62113e254a7b00babd554ebc4206..e42d5a436964ff2bd374b7a49c84762a07d70aab 100644 (file)
@@ -19,10 +19,10 @@ menuconfig USB_GADGET
        select DM_USB
        imply CMD_BIND
        help
-          USB is a master/slave protocol, organized with one master
-          host (such as a PC) controlling up to 127 peripheral devices.
-          The USB hardware is asymmetric, which makes it easier to set up:
-          you can't connect a "to-the-host" connector to a peripheral.
+         USB is a master/slave protocol, organized with one master
+         host (such as a PC) controlling up to 127 peripheral devices.
+         The USB hardware is asymmetric, which makes it easier to set up:
+         you can't connect a "to-the-host" connector to a peripheral.
 
           U-Boot can run in the host, or in the peripheral.  In both cases
           you need a low level bus controller driver, and some software
@@ -164,10 +164,10 @@ config USB_GADGET_VBUS_DRAW
        range 2 500
        default 2
        help
-          Some devices need to draw power from USB when they are
-          configured, perhaps to operate circuitry or to recharge
-          batteries.  This is in addition to any local power supply,
-          such as an AC adapter or batteries.
+         Some devices need to draw power from USB when they are
+         configured, perhaps to operate circuitry or to recharge
+         batteries.  This is in addition to any local power supply,
+         such as an AC adapter or batteries.
 
           Enter the maximum power your device draws through USB, in
           milliAmperes.  The permitted range of values is 2 - 500 mA;
@@ -350,9 +350,9 @@ config SPL_DFU_RAM
        bool "RAM device"
        depends on SPL_DFU && SPL_RAM_SUPPORT
        help
-        select RAM/DDR memory device for loading binary images
-        (u-boot/kernel) to the selected device partition using
-        DFU and execute the u-boot/kernel from RAM.
+         select RAM/DDR memory device for loading binary images
+         (u-boot/kernel) to the selected device partition using
+         DFU and execute the u-boot/kernel from RAM.
 
 endchoice
 
index d75883e286507e466f3d979e666d3fa55e14bc4d..6bbed9cb513b0e901b0c094351e490669bd9b17a 100644 (file)
@@ -24,7 +24,7 @@ config USB_XHCI_HCD
        bool "xHCI HCD (USB 3.0) support"
        depends on DM && OF_CONTROL
        select USB_HOST
-       ---help---
+       help
          The eXtensible Host Controller Interface (xHCI) is standard for USB 3.0
          "SuperSpeed" host controller hardware.
 
@@ -149,7 +149,7 @@ config USB_EHCI_HCD
        select USB_HOST
        select EHCI_DESC_BIG_ENDIAN if SYS_BIG_ENDIAN
        select EHCI_MMIO_BIG_ENDIAN if SYS_BIG_ENDIAN
-       ---help---
+       help
          The Enhanced Host Controller Interface (EHCI) is standard for USB 2.0
          "high speed" (480 Mbit/sec, 60 Mbyte/sec) host controller hardware.
          If your USB host controller supports USB 2.0, you will likely want to
@@ -174,14 +174,14 @@ config USB_EHCI_ATMEL
        bool  "Support for Atmel on-chip EHCI USB controller"
        depends on ARCH_AT91
        default y
-       ---help---
+       help
          Enables support for the on-chip EHCI controller on Atmel chips.
 
 config USB_EHCI_EXYNOS
        bool "Support for Samsung Exynos EHCI USB controller"
        depends on ARCH_EXYNOS
        default y
-       ---help---
+       help
          Enables support for the on-chip EHCI controller on Samsung Exynos
          SoCs.
 
@@ -191,7 +191,7 @@ config USB_EHCI_MARVELL
        default y
        select USB_EHCI_IS_TDI if !ARM64
        select USB_EHCI_IS_TDI if ALLEYCAT_5
-       ---help---
+       help
          Enables support for the on-chip EHCI controller on MVEBU SoCs.
 
 config USB_EHCI_MX5
@@ -205,7 +205,7 @@ config USB_EHCI_MX6
        depends on ARCH_MX6 || ARCH_MX7ULP || ARCH_IMXRT
        select EHCI_HCD_INIT_AFTER_RESET
        default y
-       ---help---
+       help
          Enables support for the on-chip EHCI controller on i.MX6 SoCs.
 
 config USB_EHCI_MX7
@@ -215,7 +215,7 @@ config USB_EHCI_MX7
        select PHY if IMX8M || IMX9
        select NOP_PHY if IMX8M || IMX9
        default y
-       ---help---
+       help
          Enables support for the on-chip EHCI controller on i.MX7/i.MX8M/i.MX9 SoCs.
 
 config USB_EHCI_MXS
@@ -230,7 +230,7 @@ config USB_EHCI_MXS
 config USB_EHCI_NPCM
        bool "Support for Nuvoton NPCM on-chip EHCI USB controller"
        depends on ARCH_NPCM
-       ---help---
+       help
          Enables support for the on-chip EHCI controller on
          Nuvoton NPCM chips.
 
@@ -240,7 +240,7 @@ config USB_EHCI_OMAP
        select PHY
        imply NOP_PHY
        default y
-       ---help---
+       help
          Enables support for the on-chip EHCI controller on OMAP3 and later
          SoCs.
 
@@ -255,7 +255,7 @@ if USB_EHCI_MX6 || USB_EHCI_MX7
 
 config MXC_USB_OTG_HACTIVE
        bool "USB Power pin high active"
-       ---help---
+       help
          Set the USB Power pin polarity to be high active (PWR_POL)
 
 endif
@@ -265,7 +265,7 @@ config USB_EHCI_MSM
        depends on DM_USB
        select USB_ULPI
        select MSM8916_USB_PHY
-       ---help---
+       help
          Enables support for the on-chip EHCI controller on Qualcomm
          Snapdragon SoCs.
 
@@ -280,7 +280,7 @@ config USB_EHCI_TEGRA
        bool "Support for NVIDIA Tegra on-chip EHCI USB controller"
        depends on ARCH_TEGRA
        select USB_EHCI_IS_TDI
-       ---help---
+       help
          Enable support for Tegra on-chip EHCI USB controller. If you enable
          ULPI and your PHY needs a different reference clock than the standard
          24 MHz then you have to define CFG_ULPI_REF_CLK to the appropriate
@@ -291,14 +291,14 @@ config USB_EHCI_ZYNQ
        depends on ARCH_ZYNQ
        default y
        select USB_EHCI_IS_TDI
-       ---help---
+       help
          Enable support for Zynq on-chip EHCI USB controller
 
 config USB_EHCI_GENERIC
        bool "Support for generic EHCI USB controller"
        depends on DM_USB
        default ARCH_SUNXI
-       ---help---
+       help
          Enables support for generic EHCI controller.
 
 config EHCI_HCD_INIT_AFTER_RESET
@@ -310,7 +310,7 @@ config USB_EHCI_FSL
        select EHCI_HCD_INIT_AFTER_RESET
        select SYS_FSL_USB_INTERNAL_UTMI_PHY if MPC85xx && \
                !(ARCH_B4860 || ARCH_B4420 || ARCH_P4080 || ARCH_P1020 || ARCH_P2020)
-       ---help---
+       help
          Enables support for the on-chip EHCI controller on FSL chips.
 
 config SYS_FSL_USB_INTERNAL_UTMI_PHY
@@ -340,7 +340,7 @@ config USB_OHCI_HCD
        depends on DM && OF_CONTROL
        select USB_HOST
        select USB_OHCI_NEW
-       ---help---
+       help
          The Open Host Controller Interface (OHCI) is a standard for accessing
          USB 1.1 host controller hardware.  It does more in hardware than Intel's
          UHCI specification.  If your USB host controller follows the OHCI spec,
@@ -361,7 +361,7 @@ config USB_OHCI_PCI
 config USB_OHCI_GENERIC
        bool "Support for generic OHCI USB controller"
        default ARCH_SUNXI
-       ---help---
+       help
          Enables support for generic OHCI controller.
 
 config USB_OHCI_DA8XX
@@ -374,7 +374,7 @@ config USB_OHCI_DA8XX
 config USB_OHCI_NPCM
        bool "Support for Nuvoton NPCM on-chip OHCI USB controller"
        depends on ARCH_NPCM
-       ---help---
+       help
          Enables support for the on-chip OHCI controller on
          Nuvoton NPCM chips.
 
@@ -391,7 +391,7 @@ config SYS_OHCI_SWAP_REG_ACCESS
 config USB_UHCI_HCD
        bool "UHCI HCD (most Intel and VIA) support"
        select USB_HOST
-       ---help---
+       help
          The Universal Host Controller Interface is a standard by Intel for
          accessing the USB hardware in the PC (which is also called the USB
          host controller). If your USB host controller conforms to this
@@ -410,7 +410,7 @@ config USB_DWC2
        bool "DesignWare USB2 Core support"
        depends on DM && OF_CONTROL
        select USB_HOST
-       ---help---
+       help
          The DesignWare USB 2.0 controller is compliant with the
          USB-Implementers Forum (USB-IF) USB 2.0 specifications.
          Hi-Speed (480 Mbps), Full-Speed (12 Mbps), and Low-Speed (1.5 Mbps)
@@ -421,7 +421,7 @@ if USB_DWC2
 config USB_DWC2_BUFFER_SIZE
        int "Data buffer size in kB"
        default 64
-       ---help---
+       help
          By default 64 kB buffer is used but if amount of RAM avaialble on
          the target is not enough to accommodate allocation of buffer of
          that size it is possible to shrink it. Smaller sizes should be fine
@@ -433,7 +433,7 @@ config USB_R8A66597_HCD
        bool "Renesas R8A66597 USB Core support"
        depends on DM && OF_CONTROL
        select USB_HOST
-       ---help---
+       help
          This enables support for the on-chip Renesas R8A66597 USB 2.0
          controller, present in various RZ and SH SoCs.
 
index f8daaddc657e3e69c318b080ef0f64cf90935f8a..6fb37c787dec6009a6630bc8dd2a21a26b1ea11e 100644 (file)
@@ -23,11 +23,11 @@ config USB_MUSB_GADGET
 
 if USB_MUSB_HOST || USB_MUSB_GADGET
 config USB_MUSB_SC5XX
-        bool "Analog Devices MUSB support"
-        depends on (SC57X || SC58X)
+       bool "Analog Devices MUSB support"
+       depends on (SC57X || SC58X)
        help
-        Say y here to enable support for the USB controller on
-        ADI SC57X/SC58X processors.
+         Say y here to enable support for the USB controller on
+         ADI SC57X/SC58X processors.
 
 config USB_MUSB_DA8XX
        bool "Enable DA8xx MUSB Controller"
@@ -81,9 +81,9 @@ config USB_MUSB_SUNXI
        depends on PHY_SUN4I_USB
        select USB_MUSB_PIO_ONLY
        default y
-       ---help---
-       Say y here to enable support for the sunxi OTG / DRC USB controller
-       used on almost all sunxi boards.
+       help
+         Say y here to enable support for the sunxi OTG / DRC USB controller
+         used on almost all sunxi boards.
 
 config USB_MUSB_UX500
        bool "Enable ST-Ericsson Ux500 USB controller"