[U-Boot] [PATCH 02/60] mmc: tegra: move pad init into MMC driver

Simon Glass
2016-04-20T19:25:48Z

On 19 April 2016 at 14:58, Stephen Warren <swarren@wwwdotorg.org> wrote:
> From: Stephen Warren <swarren@nvidia.com>
>
> The initialization performed by this code is SoC-specific not board-
> specific. It also solely touches MMC controller registers. As such, it
> should be part of the MMC driver itself. Move it there.
>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
> arch/arm/include/asm/arch-tegra/tegra_mmc.h | 2 --
> arch/arm/mach-tegra/board2.c | 29 --------------------------
> drivers/mmc/tegra_mmc.c | 32 +++++++++++++++++++++++++++--
> 3 files changed, 30 insertions(+), 33 deletions(-)

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