ARM: tegra: Workaround UDC boot issues only if necessary
authorThierry Reding <treding@nvidia.com>
Mon, 15 Apr 2019 09:32:26 +0000 (11:32 +0200)
committerTom Warren <twarren@nvidia.com>
Wed, 5 Jun 2019 16:16:34 +0000 (09:16 -0700)
commit836a56e729a082639d26499c8eb2d409308542a4
tree2d97cf100df6d1ef6aa908d70548b345429a3475
parentf9ec2ec8504aa5d94d5be7f43c743040e549b157
ARM: tegra: Workaround UDC boot issues only if necessary

Resetting the USB device controller on boot is only necessary if the SoC
actually has a UDC controller and U-Boot enables support for it. All the
Tegra boards support UDC via the ChipIdea UDC driver, so make the UDC on
boot workaround depend on the ChipIdea UDC driver.

This prevents a crash on Tegra186 which does not have the ChipIdea UDC.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/mach-tegra/Kconfig