[U-Boot] [PATCH v5 4/5] tegra2: Modify MMC driver to handle power and cd GPIOs

Simon Glass sjg at chromium.org
Wed Oct 12 23:08:39 CEST 2011


On Wed, Oct 12, 2011 at 10:52 AM, Stephen Warren <swarren at nvidia.com> wrote:
> Pass the GPIO numbers for power and card detect to tegra2_mmc_init(), and
> modify that function to perform all required GPIO initialization. This
> removes the need for board files to perform these operations.
>
> Move board_mmc_getcd() into tegra2_mmc.c now that the driver knows which
> GPIOs to use.
>
> Update affected call-sites in seaboard.c and harmony.c. Note that this
> change should make all SD ports work on Harmony, since the required GPIO
> setup is now being performed.
>
> v4: Fix prototype of tegra2_mmc_init() in board.h to match driver change.
>    Remove prototype of gpio_config_mmc() from board.h
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> Tested-by: Simon Glass <sjg at chromium.org>

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list