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

Stephen Warren swarren at nvidia.com
Tue Nov 15 22:51:12 CET 2011


On 11/02/2011 08:30 PM, Andy Fleming wrote:
> On Mon, Oct 31, 2011 at 11:51 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>
>> Cc: Andy Fleming <afleming at gmail.com>
>> Tested-by: Simon Glass <sjg at chromium.org>
>> Acked-by: Simon Glass <sjg at chromium.org>
> 
> This patch depends heavily on patch #2 (ie, won't apply without it),
> which doesn't touch drivers/mmc.
> 
> Lacking an ACK from Albert, I hesitate to just apply the whole series.
> I've applied patch #1, and I'll let Albert decide whether to apply the
> other 3:
> 
> Acked-by: Andy Fleming <afleming at freescale.com>
> 
> I have also re-assigned this patch in patchworks to Albert.

Albert, Do the remaining 3 patches in this series look good?

Thanks.

-- 
nvpublic


More information about the U-Boot mailing list