mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 08:57:58 +00:00
a43aebee89
'default' on a choice refers to the symbol selected by default, not to the choice mode, so 'default n' is meaningless. No functional changes. Optional choices implicitly default to n mode (and there is no way to make them default to another mode). Discovered in Kconfiglib (https://github.com/ulfalizer/Kconfiglib), which prints the following warning: warning: the default selection n (undefined) of <choice> (defined at drivers/usb/ulpi/Kconfig:3) is not contained in the choice I've added a corresponding warning to the C tools too, which is currently in linux-next: https://patchwork.kernel.org/patch/9983667/ Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com>
32 lines
871 B
Text
32 lines
871 B
Text
comment "ULPI drivers"
|
|
|
|
choice
|
|
prompt "ULPI Viewport type"
|
|
optional
|
|
help
|
|
Select ULPI viewport (SoC-side interface to ULPI) implementation
|
|
appropriate for the device if you want to communicate with
|
|
UTMI (USB PHY) via ULPI interface.
|
|
|
|
config USB_ULPI_VIEWPORT
|
|
bool "Generic ULPI Viewport"
|
|
help
|
|
Support generic ULPI Viewport implementation that is used on
|
|
some Tegra and Snapdragon devices.
|
|
|
|
config USB_ULPI_VIEWPORT_OMAP
|
|
bool "OMAP ULPI Viewport"
|
|
help
|
|
Support ULPI Viewport implementation that is used on OMAP devices.
|
|
|
|
endchoice
|
|
|
|
config USB_ULPI
|
|
bool "ULPI support"
|
|
depends on (USB_ULPI_VIEWPORT || USB_ULPI_VIEWPORT_OMAP)
|
|
help
|
|
Select to commnicate with USB PHY via ULPI interface.
|
|
ULPI is wrapper on UTMI+ core that is used as
|
|
PHY Transreceiver for USB controllers.
|
|
|
|
This driver uses ULPI viewports that are specific for each SoC.
|