From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Thu, 29 Oct 2015 11:16:00 -0600 Subject: [U-Boot] [PATCH V2 4/7] ARM: tegra: parameterize common XUSB code In-Reply-To: <1445619053-2167-4-git-send-email-swarren@wwwdotorg.org> References: <1445619053-2167-1-git-send-email-swarren@wwwdotorg.org> <1445619053-2167-4-git-send-email-swarren@wwwdotorg.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 23 October 2015 at 10:50, Stephen Warren wrote: > From: Stephen Warren > > 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 > --- > 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