]> git.sur5r.net Git - u-boot/commit
usb: tegra: refactor PHY type selection
authorStephen Warren <swarren@nvidia.com>
Wed, 30 Apr 2014 21:09:56 +0000 (15:09 -0600)
committerMarek Vasut <marex@denx.de>
Wed, 14 May 2014 22:21:17 +0000 (00:21 +0200)
commit2d34151f7501ddaa599897f0d89ad576126b03eb
treee52cac31da3f4b5daad4aa53884c34ca4ea24233
parent9b20fe6f1affdfc7441481dc0acb55eadd80134f
usb: tegra: refactor PHY type selection

Both init_{utmi,ulpi}_usb_controller() have nearly identical code for
PHY type selection. Pull this out into a common function to remove the
duplication.

Cc: Jim Lin <jilin@nvidia.com>
Cc: Stefan Agner <stefan@agner.ch>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
drivers/usb/host/ehci-tegra.c