On 23 October 2015 at 10:50, Stephen Warren <swar...@wwwdotorg.org> wrote: > From: Stephen Warren <swar...@nvidia.com> > > A fair amount of the XUSB padctl driver will be common between Tegra124 > and Tegra210. To avoid cut/paste between the two chips, create a new > file that will contain the common code, and convert the Tegra124 code to > use it. This change doesn't move every last piece of code that can/will be > shared, but rather concentrates on moving code that can be moved with zero > changes, so there are no other diffs mixed in. > > Signed-off-by: Stephen Warren <swar...@nvidia.com> > --- > v2: Fixed duplicate error() message prefixes. > --- > arch/arm/mach-tegra/tegra124/Makefile | 1 + > arch/arm/mach-tegra/tegra124/xusb-padctl.c | 346 > +---------------------------- > arch/arm/mach-tegra/xusb-padctl-common.c | 305 +++++++++++++++++++++++++ > arch/arm/mach-tegra/xusb-padctl-common.h | 103 +++++++++ > 4 files changed, 414 insertions(+), 341 deletions(-) > create mode 100644 arch/arm/mach-tegra/xusb-padctl-common.c > create mode 100644 arch/arm/mach-tegra/xusb-padctl-common.h
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot