Commit 68f7c5db2d1e714c15b49b0759ddef8f8344f184

Authored by Paul Kocialkowski
Committed by Marek Vasut
1 parent 9ad437447d

usb: Generic USB Kconfig option, that fits both host and gadget and comments

There is no particular reason why the USB Kconfig option should be specific to
host mode. In prevision of adding MUSB host and gadget to Kconfig, this moves
the title and help message of the USB Kconfig option to a more generic format.

Adding comments to the usb Kconfig allows for a better separation and more
readability in generated configs and in menuconfig.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>

Showing 1 changed file with 8 additions and 7 deletions Side-by-side Diff

1   -menu USB
2   -
3   -config USB
4   - bool "Support for Host-side USB"
  1 +menuconfig USB
  2 + bool "USB support"
5 3 ---help---
6 4 Universal Serial Bus (USB) is a specification for a serial bus
7 5 subsystem which offers higher speeds and more features than the
... ... @@ -15,8 +13,10 @@
15 13 such as scanners, keyboards, mice, modems, cameras, disks,
16 14 flash memory, network links, and printers to the PC.
17 15  
18   - Say Y here if your computer has a host-side USB port and you want
19   - to use USB devices. You then need to say Y to at least one of the
  16 + Say Y here if your device has an USB port, either host, peripheral or
  17 + dual-role.
  18 +
  19 + For an USB host port, you then need to say Y to at least one of the
20 20 Host Controller Driver (HCD) options below. Choose a USB 1.1
21 21 controller, such as "UHCI HCD support" or "OHCI HCD support",
22 22 and "EHCI HCD (USB 2.0) support" except for older systems that
... ... @@ -51,6 +51,8 @@
51 51  
52 52 source "drivers/usb/emul/Kconfig"
53 53  
  54 +comment "USB peripherals"
  55 +
54 56 config USB_STORAGE
55 57 bool "USB Mass Storage support"
56 58 ---help---
... ... @@ -85,5 +87,4 @@
85 87 endif
86 88  
87 89 endif
88   -endmenu