aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/ftsdc010_esdhc.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-08mmc: Implement card detection.Thierry Reding1-0/+1
Check for card detect each time an MMC/SD device is initialized. If card detection is not implemented, this code behaves as before and continues assuming a card is present. If no card is detected, has_init is reset for the MMC/SD device (to force initialization next time) and an error is returned. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Tested-by: Jason Liu <jason.hui@linaro.org>
2012-01-08ftsdc010: improve performance and capabilityMacpaul Lin1-85/+103
This patch improve the performance by spliting flag examination code in ftsdc010_send_cmd() into 3 functions. This patch also reordered the function which made better capability to some high performance cards against to the next version of ftsdc010 hardware. Signed-off-by: Macpaul Lin <macpaul@andestech.com>
2011-09-04ftsdc010: add support of ftsdc010 mmc controllerMacpaul Lin1-0/+667
Faraday FTSDC010 controller is a SD/MMC controller for SoC chip. Signed-off-by: Macpaul Lin <macpaul@andestech.com>