On 19 April 2016 at 14:59, Stephen Warren <swar...@wwwdotorg.org> wrote: > From: Stephen Warren <swar...@nvidia.com> > > Rather than building a large table of all possible PLLX configurations > into U-Boot and having it select the right one at run-time, push the > configuration into SoC-specific files, and have the linker pick up the > correct one. > > Signed-off-by: Stephen Warren <swar...@nvidia.com> > --- > arch/arm/mach-tegra/cpu.c | 124 > +--------------------------------- > arch/arm/mach-tegra/cpu.h | 7 -- > arch/arm/mach-tegra/pllx.h | 20 ++++++ > arch/arm/mach-tegra/tegra114/Makefile | 3 +- > arch/arm/mach-tegra/tegra114/pllx.c | 33 +++++++++ > arch/arm/mach-tegra/tegra124/Makefile | 3 +- > arch/arm/mach-tegra/tegra124/pllx.c | 33 +++++++++ > arch/arm/mach-tegra/tegra20/Makefile | 1 + > arch/arm/mach-tegra/tegra20/pllx.c | 59 ++++++++++++++++ > arch/arm/mach-tegra/tegra210/Makefile | 3 +- > arch/arm/mach-tegra/tegra210/pllx.c | 33 +++++++++ > arch/arm/mach-tegra/tegra30/Makefile | 3 +- > arch/arm/mach-tegra/tegra30/pllx.c | 34 ++++++++++ > 13 files changed, 224 insertions(+), 132 deletions(-) > create mode 100644 arch/arm/mach-tegra/pllx.h > create mode 100644 arch/arm/mach-tegra/tegra114/pllx.c > create mode 100644 arch/arm/mach-tegra/tegra124/pllx.c > create mode 100644 arch/arm/mach-tegra/tegra20/pllx.c > create mode 100644 arch/arm/mach-tegra/tegra210/pllx.c > create mode 100644 arch/arm/mach-tegra/tegra30/pllx.c
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot