]> git.sur5r.net Git - u-boot/commit
ARM: tegra: parameterize common XUSB code
authorStephen Warren <swarren@nvidia.com>
Fri, 23 Oct 2015 16:50:50 +0000 (10:50 -0600)
committerTom Warren <twarren@nvidia.com>
Thu, 12 Nov 2015 16:21:06 +0000 (09:21 -0700)
commit095e65839e0732b7fe67c76c6f2b604a66e5ee38
treefa60821f131c5acb7e80a09e03700a3462bae160
parent1680d7b6de2c63333d3a67c2f5f852a127e412cd
ARM: tegra: parameterize common XUSB code

There are some differences between the Tegra124 and Tegra210 XUSB padctl
code. So far, the common XUSB padctl code only supports Tegra124. Add
some parameters etc. so that it can work for both chips.

This also allows moving Tegra124's process_nodes() into the common file;
something that would have requires edits during the move if done in the
previous commit.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/mach-tegra/tegra124/xusb-padctl.c
arch/arm/mach-tegra/xusb-padctl-common.h