u-boot/drivers/mmc
Thierry Reding 314284b156 mmc: Change board_mmc_getcd() function prototype.
The new API no longer uses the extra cd parameter that was used to store
the card presence state. Instead, this information is returned via the
function's return value. board_mmc_getcd() returns -1 to indicate that
no card-detection mechanism is implemented; 0 indicates that no card is
present and 1 is returned if it was detected that a card is present.

The rationale for this change can be found in the following email
thread:

	http://lists.denx.de/pipermail/u-boot/2011-November/110180.html

In summary, the old API was not consistent with the rest of the MMC API
which always passes a struct mmc as the first parameter. Furthermore the
cd parameter was used to mean "card absence" in some implementations and
"card presence" in others.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Tested-by: Jason Liu <jason.hui@linaro.org>
2012-01-08 21:28:27 -06:00
..
arm_pl180_mmci.c MMC: PL180: Fix infinite loop with VExpress extended fifo implementation 2011-11-08 14:39:58 -06:00
arm_pl180_mmci.h MMC: Add support for PL180 ARM mmc device 2011-04-29 03:20:01 -05:00
atmel_mci.c avr32: rename memory-map.h -> hardware.h 2011-05-18 07:56:50 +02:00
atmel_mci.h Revert "AT91:mmc:fix multiple read/write error" 2011-07-28 20:47:15 -05:00
bfin_sdh.c MMC: make b_max unconditional 2011-04-29 03:21:54 -05:00
davinci_mmc.c davinci, mmc: fix gcc 4.6 build warnings 2011-11-16 20:51:14 +01:00
fsl_esdhc.c mmc: Change board_mmc_getcd() function prototype. 2012-01-08 21:28:27 -06:00
ftsdc010_esdhc.c ftsdc010: improve performance and capability 2012-01-08 21:28:16 -06:00
gen_atmel_mci.c Revert "AT91:mmc:fix multiple read/write error" 2011-07-28 20:47:15 -05:00
Makefile iMX28: Add SSP MMC driver 2011-11-11 11:36:56 +01:00
mmc_spi.c mmc_spi: generate response for send status command 2011-05-18 14:30:34 -05:00
mmc.c mmc: Change board_mmc_getcd() function prototype. 2012-01-08 21:28:27 -06:00
mv_sdhci.c drivers/mmc/mv_sdhci.c: Fix build warning 2012-01-08 21:28:16 -06:00
mxcmmc.c MMC: make b_max unconditional 2011-04-29 03:21:54 -05:00
mxsmmc.c iMX28: Add SSP MMC driver 2011-11-11 11:36:56 +01:00
omap_hsmmc.c omap: Checkpatch fixes 2011-11-15 22:25:50 +01:00
pxa_mmc_gen.c PXA: Rename CONFIG_PXA2[57]X to CONFIG_CPU_PXA2[57]X 2011-12-06 23:59:32 +01:00
pxa_mmc.c PXA: Kill last remnants of set_GPIO_mode function 2011-12-19 17:52:44 +01:00
pxa_mmc.h pxa: move mmc drivers to drivers/mmc 2009-02-20 03:47:50 +01:00
s5p_mmc.c mmc: S5P: Support DMA restarts at buffer boundaries 2011-09-03 22:40:47 +02:00
sdhci.c mmc: sdhci: fix sdma bug for large file transfer 2011-11-03 02:15:00 -05:00
sh_mmcif.c mmc: sh_mmcif: add support for Renesas MMCIF 2011-07-15 20:29:21 -05:00
sh_mmcif.h mmc: sh_mmcif: add support for Renesas MMCIF 2011-07-15 20:29:21 -05:00
tegra2_mmc.c tegra2: Modify MMC driver to handle power and cd GPIOs 2011-12-09 17:30:08 +01:00
tegra2_mmc.h tegra2: Move tegra2_mmc_init() prototype to public header. 2011-12-24 10:23:31 +01:00