u-boot-brain/drivers
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
..
bios_emulator drivers/bios_emulator/x86emu/ops2.c: Fix GCC 4.6 build warning 2011-11-27 15:45:47 +01:00
block mvsata: fix ide_preinit for missing disks 2011-12-06 23:59:30 +01:00
dma MXS: Add static annotations to dma driver 2011-12-06 23:59:40 +01:00
fpga fpga: Spartan-3: let print the progress if configured 2012-01-05 16:20:12 +01:00
gpio i.mx: mxc_gpio: add the i.mx6q support 2011-12-09 17:30:10 +01:00
hwmon hwmon: do not init sensors on startup 2011-08-04 23:30:38 +02:00
i2c drivers/i2c/davinci_i2c.c: Fix GCC 4.6 warning 2011-11-23 21:22:39 +01:00
input x86: Fix some bugs in the i8402 driver when no controller is present 2011-11-29 21:31:35 +11:00
misc misc: pmic: fix regression in pmic_fsl.c (SPI) 2011-11-03 22:56:18 +01:00
mmc mmc: Change board_mmc_getcd() function prototype. 2012-01-08 21:28:27 -06:00
mtd sf: Add spi_boot() to allow booting from SPI flash in an SPL 2011-12-24 10:23:30 +01:00
net net: add Calxeda xgmac driver 2012-01-05 20:10:38 +01:00
pci pci_ftpci100: Implementation FTPCI100 PCI driver 2011-12-05 23:13:48 +01:00
pcmcia drivers/pcmcia/mpc8xx_pcmcia.c: Fix GCC 4.6 build warning 2011-11-07 22:11:46 +01:00
power omap: TWL4030 Bump VMMC1 interface voltage from 3V to 3.15V 2011-12-09 17:28:28 +01:00
qe powerpc/85xx: clean up and document the QE/FMAN microcode macros 2011-11-29 08:48:06 -06:00
rtc arm, davinci: move davinci_rtc struct to hardware.h 2011-12-06 23:59:37 +01:00
serial USB: Use (get|put)_unaligned for accessing wMaxPacketSize 2011-12-16 21:37:17 +01:00
spi tegra2: spi: Support SPI / UART switch 2011-12-24 10:23:31 +01:00
tpm Introduce generic TPM support in u-boot 2011-12-07 08:45:51 +01:00
twserial Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
usb usb: s3c_udc_otg: fix GCC 4.6 build warnings 2011-12-20 23:20:01 +01:00
video video: cfb_console: fix build warnings 2011-12-07 21:32:19 +01:00
watchdog AT91: fix at91sam_wdt.c to reworked header files 2011-05-18 07:56:51 +02:00