[U-Boot] [PATCH V2 4/7] ARM: tegra: parameterize common XUSB code

Simon Glass sjg at chromium.org
Thu Oct 29 18:16:00 CET 2015


On 23 October 2015 at 10:50, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at nvidia.com>
>
> 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 at nvidia.com>
> ---
>  arch/arm/mach-tegra/tegra124/xusb-padctl.c | 84 +++++++-----------------------
>  arch/arm/mach-tegra/xusb-padctl-common.h   | 32 ++++++------
>  2 files changed, 34 insertions(+), 82 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list