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

Simon Glass sjg at chromium.org
Fri Apr 22 20:32:12 CEST 2016


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


More information about the U-Boot mailing list