[U-Boot] [PATCH 43/60] ARM: tegra: move PLLX configuration into SoC directories

Simon Glass sjg at chromium.org
Sun May 8 00:31:56 CEST 2016


On 19 April 2016 at 14:59, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at 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 <swarren at 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 <sjg at chromium.org>


More information about the U-Boot mailing list