]> git.dujemihanovic.xyz Git - u-boot.git/commit
MMC: add weak function to detect MMC/SD card
authorStefano Babic <sbabic@denx.de>
Fri, 5 Feb 2010 14:04:43 +0000 (15:04 +0100)
committerTom Rix <Tom.Rix@windriver.com>
Sun, 7 Mar 2010 18:36:36 +0000 (12:36 -0600)
commit11fdade294b4d60c19ae861515aabddca1278deb
tree395639b2c0124e1a4144bb6b9ecaa4b353393134
parent250de12bc2f7842807d25e16971c5bea59c3a4b1
MMC: add weak function to detect MMC/SD card

Most controllers can check if there is a card in the slot.
However, they require pins that could be not available because
required by other functions and the detection of a card must
be performed in another way. This patch adds a weak function
that a board can implement to add its internal custom way
to check the presence of a MMC/SD card.

Signed-off-by: Stefano Babic <sbabic@denx.de>
drivers/mmc/mmc.c
include/mmc.h