[U-Boot] [PATCH 27/60] ARM: tegra: move emc.h

Simon Glass
2016-04-22T18:32:12Z

On 19 April 2016 at 14:59, Stephen Warren <swarren@wwwdotorg.org> wrote:
> From: Stephen Warren <swarren@nvidia.com>
>
> This header is only needed by code local to mach-tegra, so move it there
> to avoid polluting the global include path.
>
> tegra_set_emc() is moved between two emc.h so that mach-tegra/emc.h
> defines fairly public interfaces to the EMC functionality, and emc_priv.h
> contains internal register details.
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
> arch/arm/mach-tegra/board2.c | 3 ---
> arch/arm/mach-tegra/emc.c | 1 -
> arch/arm/mach-tegra/emc.h | 14 ++++++++++++++
> arch/arm/mach-tegra/tegra20/emc.c | 3 ++-
> .../emc.h => mach-tegra/tegra20/emc_priv.h} | 17 +++--------------
> arch/arm/mach-tegra/tegra20/warmboot.c | 3 ++-
> 6 files changed, 21 insertions(+), 20 deletions(-)
> rename arch/arm/{include/asm/arch-tegra20/emc.h => mach-tegra/tegra20/emc_priv.h} (83%)

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