[U-Boot] [PATCH 42/60] ARM: tegra: move EMC code to tegra20/ directory

Simon Glass
2016-05-07T22:31:51Z

On 19 April 2016 at 14:59, Stephen Warren <swarren@wwwdotorg.org> wrote:
> From: Stephen Warren <swarren@nvidia.com>
>
> EMC scaling is specific to Tegra20. Move the code into tegra20/ to isolate
> it. If it becomes more generic in the future, it should likely be moved
> somewhere in drivers/, but at the least be reworked to have a leaner and
> cleaner interface to its caller (i.e. fewer dependencies, interactions).
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
> arch/arm/mach-tegra/Makefile | 1 -
> arch/arm/mach-tegra/board2.c | 6 ++++--
> arch/arm/mach-tegra/emc.c | 36 ----------------------------------
> arch/arm/mach-tegra/emc.h | 27 -------------------------
> arch/arm/mach-tegra/tegra20/Makefile | 4 ++--
> arch/arm/mach-tegra/tegra20/emc.c | 34 +++++++++++++++++++++++++++++++-
> arch/arm/mach-tegra/tegra20/emc.h | 14 +++++++++++++
> arch/arm/mach-tegra/tegra20/warmboot.c | 4 ++--
> include/configs/seaboard.h | 4 ++--
> 9 files changed, 57 insertions(+), 73 deletions(-)
> delete mode 100644 arch/arm/mach-tegra/emc.c
> delete mode 100644 arch/arm/mach-tegra/emc.h
> create mode 100644 arch/arm/mach-tegra/tegra20/emc.h

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