]> git.sur5r.net Git - u-boot/commit
tegra2: Move board_mmc_init into board files
authorStephen Warren <swarren@nvidia.com>
Mon, 31 Oct 2011 06:51:35 +0000 (06:51 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 9 Dec 2011 16:30:08 +0000 (17:30 +0100)
commitae03661fda98465420016b410a27e6bf2a3c03f4
treebf531c9e8a39a7b357e352ba20675b1d0e4c56b5
parentc4eba6ec5c58083b38340724c006294c7a4fe2eb
tegra2: Move board_mmc_init into board files

For Seaboard, this is mostly a cut/paste of board_mmc_init() and
pin_mux_mmc() into seaboard.c; pin_mux_mmc() was modified to add some
missing pinmux_tristate_disable calls for the GPIOs.

For Harmony, those functions were modified to configure SDMMC2 (index 2)
instead of SDMMC3 (index 1), since that's what is present on the board.

However, harmony.c is still missing the required GPIO setup, so neither
port is likely to function correctly yet.  This will be fixed in the next
change.

v4: Include board.h to prototype tegra2_mmc_init().

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Simon Glass <sjg@chromium.org>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
board/nvidia/common/board.c
board/nvidia/harmony/harmony.c
board/nvidia/seaboard/seaboard.c