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

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


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


More information about the U-Boot mailing list